altos: Add configurable beep tone
[fw/altos] / src / kernel / ao.h
index 29ad26031d9733cfe7409b31127c06c53698ec41..9169bd8428fc6a9c55ee20345b5f8abf3dffb60f 100644 (file)
@@ -750,7 +750,7 @@ extern __xdata uint8_t ao_force_freq;
 #endif
 
 #define AO_CONFIG_MAJOR        1
-#define AO_CONFIG_MINOR        15
+#define AO_CONFIG_MINOR        16
 
 #define AO_AES_LEN 16
 
@@ -789,6 +789,9 @@ struct ao_config {
        int16_t         accel_zero_across;      /* minor version 15 */
        int16_t         accel_zero_through;     /* minor version 15 */
 #endif
+#if HAS_BEEP
+       uint8_t         mid_beep;               /* minor version 16 */
+#endif
 };
 
 #define AO_IGNITE_MODE_DUAL            0