mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +08:00
renamed DlEventCheckAndHandle to DatalinkEvent
This commit is contained in:
@@ -105,7 +105,7 @@ static inline void tl_main_event_task( void ) {
|
||||
|
||||
GpsEventCheckAndHandle(tl_estimator_use_gps, !estimator_in_flight);
|
||||
|
||||
DlEventCheckAndHandle();
|
||||
DatalinkEvent();
|
||||
|
||||
TlImuEventCheckAndHandle(tl_estimator_use_imu);
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ EXTERN uint8_t dl_buffer[MSG_SIZE] __attribute__ ((aligned));
|
||||
void dl_parse_msg(void);
|
||||
/** Should be called when chars are available in dl_buffer */
|
||||
|
||||
#define DlEventCheckAndHandle() { \
|
||||
#define DatalinkEvent() { \
|
||||
if (PprzBuffer()) { \
|
||||
ReadPprzBuffer(); \
|
||||
if (pprz_msg_received) { \
|
||||
|
||||
Reference in New Issue
Block a user