diff --git a/libraries/RC_Channel/examples/RC_UART/RC_UART.cpp b/libraries/RC_Channel/examples/RC_UART/RC_UART.cpp index bd85eccd94..c068a54cac 100644 --- a/libraries/RC_Channel/examples/RC_UART/RC_UART.cpp +++ b/libraries/RC_Channel/examples/RC_UART/RC_UART.cpp @@ -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: