Skip to content

Commit

Permalink
inverted BMA interrupts pins
Browse files Browse the repository at this point in the history
  • Loading branch information
hallard committed Sep 20, 2020
1 parent d86183b commit ff53184
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions variants/CH2i-Sentinel-L082CZ/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ extern Uart Serial3;
#define LED_BUILTIN (13u)
#define LED_RED (13u)

#if defined (BOARD_SENTINEL_V10)

#define BAT_ENABLE (2u)
#define BTN_ACTION (2u)
#define BAT_ANALOG A1
Expand All @@ -222,8 +220,8 @@ extern Uart Serial3;
#define GNSS_BACKUP A0

//BMA280 definitions
#define BMA400_INT1 (3u) // interrupt1 pin definitions, no motion detect
#define BMA400_INT2 A4 // interrupt2 pin definitions, wakeup
#define BMA400_INT1 A4 // interrupt1 pin definitions, no motion detect
#define BMA400_INT2 (3u) // interrupt2 pin definitions, wakeup

#define LIS2MDL_INT (9u) // interrupt for magnetometer data ready

Expand All @@ -237,8 +235,6 @@ extern Uart Serial3;
#define M66_RXD A2
#define M66_TXD A3

#endif

// Button pressed set pin port to HIGH
#define BTN_PRESSED HIGH
#define BTN_RELEASED LOW
Expand Down

0 comments on commit ff53184

Please sign in to comment.