mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 12:57:27 +08:00
forgot to save all files in last commit
This commit is contained in:
@@ -256,14 +256,6 @@ void autopilot_init(void)
|
|||||||
gpio_clear(POWER_SWITCH_GPIO); // POWER OFF
|
gpio_clear(POWER_SWITCH_GPIO); // POWER OFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// call implementation init
|
|
||||||
// it will set startup mode
|
|
||||||
#if USE_GENERATED_AUTOPILOT
|
|
||||||
autopilot_generated_init();
|
|
||||||
#else
|
|
||||||
autopilot_static_init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// register messages
|
// register messages
|
||||||
register_periodic_telemetry(DefaultPeriodic, PPRZ_MSG_ID_AUTOPILOT_VERSION, send_autopilot_version);
|
register_periodic_telemetry(DefaultPeriodic, PPRZ_MSG_ID_AUTOPILOT_VERSION, send_autopilot_version);
|
||||||
register_periodic_telemetry(DefaultPeriodic, PPRZ_MSG_ID_ALIVE, send_alive);
|
register_periodic_telemetry(DefaultPeriodic, PPRZ_MSG_ID_ALIVE, send_alive);
|
||||||
|
|||||||
Reference in New Issue
Block a user