X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fao_pins.h;h=89907b9c03c3b6090084839bb29980f41cea81bb;hb=bf06af154e232d4caa1585a1d6d5279a075292e4;hp=4c31f75551498db6168748a22ec2dca6aee4c2ec;hpb=19bfa3882a2d95fcade256c2d63ad24f794281e5;p=fw%2Faltos diff --git a/src/ao_pins.h b/src/ao_pins.h index 4c31f755..89907b9c 100644 --- a/src/ao_pins.h +++ b/src/ao_pins.h @@ -42,6 +42,7 @@ #define HAS_ACCEL_REF 0 #define HAS_ACCEL 1 #define HAS_IGNITE 1 + #define HAS_MONITOR 0 #endif #if defined(TELEMETRUM_V_1_1) @@ -72,6 +73,7 @@ #define M25_MAX_CHIPS 1 #define HAS_ACCEL 1 #define HAS_IGNITE 1 + #define HAS_MONITOR 0 #endif #if defined(TELEDONGLE_V_0_2) @@ -95,9 +97,10 @@ #define SPI_CS_ON_P1 1 #define SPI_CS_ON_P0 0 #define HAS_IGNITE 0 + #define HAS_MONITOR 1 #endif -#if defined(TELEMINI_V_0_1) +#if defined(TELEMINI_V_1_0) #define HAS_FLIGHT 1 #define HAS_USB 0 #define HAS_BEEP 0 @@ -120,6 +123,7 @@ #define HAS_EXTERNAL_TEMP 0 #define HAS_ACCEL 0 #define HAS_IGNITE 1 + #define HAS_MONITOR 0 #endif #if defined(TELENANO_V_0_1) @@ -144,6 +148,7 @@ #define HAS_EXTERNAL_TEMP 0 #define HAS_ACCEL 0 #define HAS_IGNITE 0 + #define HAS_MONITOR 0 #endif #if defined(TELEMETRUM_V_0_1) @@ -172,6 +177,7 @@ #define SPI_CS_ON_P0 0 #define HAS_ACCEL 1 #define HAS_IGNITE 1 + #define HAS_MONITOR 0 #endif #if defined(TELEDONGLE_V_0_1) @@ -195,6 +201,7 @@ #define SPI_CS_ON_P1 0 #define SPI_CS_ON_P0 1 #define HAS_IGNITE 0 + #define HAS_MONITOR 1 #endif #if defined(TIDONGLE) @@ -217,6 +224,7 @@ #define SPI_CS_ON_P1 0 #define SPI_CS_ON_P0 1 #define HAS_IGNITE 0 + #define HAS_MONITOR 1 #endif #if defined(TELEBT_V_0_0) @@ -241,12 +249,17 @@ #define SPI_CS_ON_P1 1 #define SPI_CS_ON_P0 0 #define HAS_IGNITE 0 + #define BT_LINK_ON_P2 1 + #define BT_LINK_ON_P1 0 + #define BT_LINK_PIN_INDEX 7 + #define BT_LINK_PIN P2_1 + #define HAS_MONITOR 1 #endif #if defined(TELEBT_V_0_1) #define HAS_FLIGHT 0 #define HAS_USB 1 - #define HAS_BEEP 0 + #define HAS_BEEP 1 #define HAS_SERIAL_1 1 #define HAS_SERIAL_1_ALT_1 1 #define HAS_SERIAL_1_ALT_2 0 @@ -272,6 +285,11 @@ #define M25_MAX_CHIPS 1 #define HAS_ACCEL 0 #define HAS_IGNITE 0 + #define BT_LINK_ON_P2 0 + #define BT_LINK_ON_P1 1 + #define BT_LINK_PIN_INDEX 7 + #define BT_LINK_PIN P1_7 + #define HAS_MONITOR 1 #endif #if DBG_ON_P1 @@ -368,4 +386,7 @@ #error Please define PACKET_HAS_SLAVE #endif +#ifndef HAS_MONITOR +#error Please define HAS_MONITOR +#endif #endif /* _AO_PINS_H_ */