summaryrefslogtreecommitdiff
path: root/src/drivers/Cst816s.h
diff options
context:
space:
mode:
authorhubmartin <hub.martin@gmail.com>2021-08-03 18:32:23 (GMT)
committerhubmartin <hub.martin@gmail.com>2021-08-03 18:32:23 (GMT)
commitb7aa04e1f55096d754a7cc291f02f3430f5a3cd9 (patch)
tree6462cbd332cf813f9a173b0783521ef9714c45bb /src/drivers/Cst816s.h
parent28abeae21bb370c45d26912bba4737a1cc6ddca7 (diff)
PinMap with namespace and constexpr
Diffstat (limited to 'src/drivers/Cst816s.h')
-rw-r--r--src/drivers/Cst816s.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/Cst816s.h b/src/drivers/Cst816s.h
index fa53907..b621510 100644
--- a/src/drivers/Cst816s.h
+++ b/src/drivers/Cst816s.h
@@ -1,7 +1,6 @@
#pragma once
#include "TwiMaster.h"
-#include <drivers/PinMap.h>
namespace Pinetime {
namespace Drivers {
@@ -40,8 +39,6 @@ namespace Pinetime {
void Wakeup();
private:
- static constexpr uint8_t pinIrq = 28;
- static constexpr uint8_t pinReset = PINMAP_CST816S_RESET_PIN;
static constexpr uint8_t lastTouchId = 0x0f;
static constexpr uint8_t touchPointNumIndex = 2;
static constexpr uint8_t touchMiscIndex = 8;