mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
GPS: integrate AP_Notify
This commit is contained in:
parent
5651bdbe3a
commit
82b7b2cb3e
@ -5,6 +5,7 @@
|
|||||||
#include <AP_Common.h>
|
#include <AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math.h>
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL.h>
|
||||||
|
#include <AP_Notify.h>
|
||||||
#include "GPS.h"
|
#include "GPS.h"
|
||||||
|
|
||||||
extern const AP_HAL::HAL& hal;
|
extern const AP_HAL::HAL& hal;
|
||||||
@ -99,7 +100,7 @@ GPS::update(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// update notify with gps status
|
// update notify with gps status
|
||||||
notify.flags.gps_status = _status;
|
AP_Notify::flags.gps_status = _status;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user