mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 21:36:28 +08:00
[Setup Actuators] Fix telemetry
The firmware was crashing because the transport was not being initialized.
This commit is contained in:
committed by
Felix Ruess
parent
3e16db6ec1
commit
5af2f84f72
@@ -60,6 +60,8 @@ static inline void main_init(void)
|
||||
{
|
||||
mcu_init();
|
||||
|
||||
downlink_init();
|
||||
|
||||
actuators_init();
|
||||
uint8_t i;
|
||||
for (i = 0; i < ACTUATORS_NB; i++) {
|
||||
@@ -84,6 +86,11 @@ static inline void main_periodic(void)
|
||||
|
||||
static inline void main_event(void)
|
||||
{
|
||||
#if USE_UDP
|
||||
udp_event();
|
||||
#else
|
||||
uart_event();
|
||||
#endif
|
||||
DatalinkEvent();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user