X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Feasymotor-v3%2Fao_pins.h;fp=src%2Feasymotor-v3%2Fao_pins.h;h=d43b855a195b23b6cc7ee5c02d3a5ecce63790ae;hb=243da063ef0dae656f940eb81ada55867924406f;hp=48485c6cbdf2f53aacb7795b51c7acdd2351263a;hpb=987ad2eb3a89ad920988d38fe8068dda1cd6f16d;p=fw%2Faltos diff --git a/src/easymotor-v3/ao_pins.h b/src/easymotor-v3/ao_pins.h index 48485c6c..d43b855a 100644 --- a/src/easymotor-v3/ao_pins.h +++ b/src/easymotor-v3/ao_pins.h @@ -19,6 +19,10 @@ #ifndef _AO_PINS_H_ #define _AO_PINS_H_ +#define AO_STACK_SIZE 352 +#define SLEEP_HASH_SIZE 3 +#define AO_NUM_TASKS 6 + #define HAS_TASK_QUEUE 1 #define IS_FLASH_LOADER 0 @@ -58,14 +62,11 @@ #define USE_EEPROM_CONFIG 0 #define USE_STORAGE_CONFIG 1 #define AO_PA11_PA12_RMP 1 -#define HAS_BEEP 0 +#define HAS_BEEP 1 #define HAS_BATTERY_REPORT 1 #define HAS_PAD_REPORT 1 #define BEEPER_CHANNEL 3 #define BEEPER_TIMER 2 -#define BEEPER_PORT (&stm_gpioa) -#define BEEPER_PIN 2 -#define BEEPER_AFR STM_AFR_AF2 #define HAS_RADIO 0 #define HAS_TELEMETRY 0 @@ -88,7 +89,7 @@ #define AO_ADC_0 1 #define AO_ADC_1 1 -#define AO_DATA_RING 64 +#define AO_DATA_RING 32 struct ao_adc { int16_t v_batt;