altos: Switch all tick variables to AO_TICK_TYPE/AO_TICK_SIGNED
[fw/altos] / src / easymotor-v2 / ao_pins.h
index 1d970e1927df605d35743c0539f237ee743422b5..0fa037b3b73dfe5866c3d393847d384e14d70249 100644 (file)
@@ -53,7 +53,7 @@
 #define SERIAL_3_PC10_PC11     0
 #define SERIAL_3_PD8_PD9       0
 
-#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX       (512 * 1024)
+#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX       (1984 * 1024)
 #define AO_CONFIG_MAX_SIZE                     1024
 #define LOG_ERASE_MARK                         0x55
 #define LOG_MAX_ERASE                          128
@@ -109,7 +109,7 @@ struct ao_adc {
 };
 
 #define AO_ADC_DUMP(p) \
-       printf("tick: %5u motor_pressure: %5d batt: %5d\n", \
+       printf("tick: %5lu motor_pressure: %5d batt: %5d\n", \
               (p)->tick, \
               (p)->adc.motor_pressure, \
               (p)->adc.v_batt);