summaryrefslogtreecommitdiff
path: root/src/drivers/PinMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/PinMap.h')
-rw-r--r--src/drivers/PinMap.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/drivers/PinMap.h b/src/drivers/PinMap.h
index 579bf38..833c647 100644
--- a/src/drivers/PinMap.h
+++ b/src/drivers/PinMap.h
@@ -3,21 +3,23 @@
namespace Pinetime {
namespace PinMap {
-
- #ifdef WATCH_P8
- // COLMI P8
- static constexpr uint8_t Charging = 19;
- static constexpr uint8_t Cst816sReset = 13;
- static constexpr uint8_t Button = 17;
- #else
- // Pinetime
- static constexpr uint8_t Charging = 12;
- static constexpr uint8_t Cst816sReset = 10;
- static constexpr uint8_t Button = 13;
- #endif
+#ifdef WATCH_P8
+ // COLMI P8
+ static constexpr uint8_t Charging = 19;
+ static constexpr uint8_t Cst816sReset = 13;
+ static constexpr uint8_t Button = 17;
+#else
+ // Pinetime
+ static constexpr uint8_t Charging = 12;
+ static constexpr uint8_t Cst816sReset = 10;
+ static constexpr uint8_t Button = 13;
+#endif
+
+ static constexpr uint8_t ButtonEnable = 15;
static constexpr uint8_t Cst816sIrq = 28;
static constexpr uint8_t PowerPresent = 19;
+ static constexpr uint8_t Bma421Irq = 8;
static constexpr uint8_t Motor = 16;