From: Bdale Garbee Date: Thu, 19 Jan 2023 20:11:29 +0000 (-0700) Subject: snapshot X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=c84b50a2c1c2498238c7289bb089af26c63417e3;p=fw%2Faltos snapshot --- 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();