From 6249abaf8f77267a1de25f4238287129dc534295 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Dec 2020 11:56:38 +1100 Subject: [PATCH] RC_Channel: fixed example firmware --- libraries/RC_Channel/examples/RC_UART/RC_UART.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: