Browse Source

RC_Channel: fixed example firmware

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
6249abaf8f
  1. 2
      libraries/RC_Channel/examples/RC_UART/RC_UART.cpp

2
libraries/RC_Channel/examples/RC_UART/RC_UART.cpp

@ -10,7 +10,7 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL(); @@ -10,7 +10,7 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL();
#define NUM_CHANNELS 4
#define ESC_MAGIC 0xF7
#define RC_SPEED 490
#define UART uartE
#define UART serial(4)
class RC_UART : public AP_HAL::HAL::Callbacks {
public:

Loading…
Cancel
Save