Fixed a bug in HAO Burst detection, removed useless global

- deltaAltitude is no longer a global but a local variable
- deltaAltitude test was not correct (always negative)