got the main file back
This commit is contained in:
parent
29c03e1f75
commit
fb826ac607
@ -62,18 +62,7 @@ void init_system()
|
|||||||
cliInit(USART3);
|
cliInit(USART3);
|
||||||
|
|
||||||
//init sbus, using USART1
|
//init sbus, using USART1
|
||||||
// sbus_init();
|
sbus_init();
|
||||||
|
|
||||||
arduinoCom_init(USART1);
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
HAL_Delay(1000);
|
|
||||||
if(arduino_frame_available())
|
|
||||||
arduino_read();
|
|
||||||
arduino_send_sensor_values();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_LEDS
|
#ifdef USE_LEDS
|
||||||
|
Reference in New Issue
Block a user