summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-01 09:50:16 +0100
committerHampusM <hampus@hampusmat.com>2022-03-01 09:50:16 +0100
commit4f0d798d3ac638f5484b62cc35e1b8fcee513064 (patch)
treee657f4c3ecd2e84aeabe03b288dc35363ac553ec
parent5db3312a91637aebcb31ffc11538eb265c5e2967 (diff)
refactor: fix sensor address type
-rw-r--r--src/gyronardo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gyronardo.cpp b/src/gyronardo.cpp
index 57bcd18..148a21b 100644
--- a/src/gyronardo.cpp
+++ b/src/gyronardo.cpp
@@ -8,7 +8,7 @@
// constexpr unsigned int LINE_CLEAR_LENGTH = 30U;
-constexpr unsigned int SENSOR_ADDRESS = 0x68U;
+constexpr uint8_t SENSOR_ADDRESS = 0x68U;
constexpr unsigned int SENSOR_THROTTLE_TIME = 50U; // milliseconds
constexpr unsigned int BAUD_RATE = 9600U;