From 1596ee5a46cf98df9111b4dc151a4fe6a78941ac Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 19 Jan 2023 13:11:29 -0700 Subject: [PATCH] snapshot --- src/quantimotor-v1/ao_pins.h | 6 ++++++ src/quantimotor-v1/ao_quantimotor.c | 1 + 2 files changed, 7 insertions(+) diff --git a/src/quantimotor-v1/ao_pins.h b/src/quantimotor-v1/ao_pins.h index fbd77c11..00dfb19b 100644 --- a/src/quantimotor-v1/ao_pins.h +++ b/src/quantimotor-v1/ao_pins.h @@ -31,6 +31,12 @@ #define AO_USB_PULLUP_PORT 0 #define AO_USB_PULLUP_PIN 20 +/* USART */ + +#define HAS_SERIAL 1 +#define USE_SERIAL_0_STDIN 0 +#define SERIAL_0_18_19 1 + #define HAS_BEEP 0 #define HAS_RADIO 0 #define HAS_TELEMETRY 0 diff --git a/src/quantimotor-v1/ao_quantimotor.c b/src/quantimotor-v1/ao_quantimotor.c index 226c37a6..7af19cd1 100644 --- a/src/quantimotor-v1/ao_quantimotor.c +++ b/src/quantimotor-v1/ao_quantimotor.c @@ -17,6 +17,7 @@ main(void) ao_adc_init(); ao_usb_init(); + ao_serial_init(); ao_cmd_init(); ao_config_init(); -- 2.47.2