diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-01 09:50:16 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-03-01 09:50:16 +0100 |
commit | 4f0d798d3ac638f5484b62cc35e1b8fcee513064 (patch) | |
tree | e657f4c3ecd2e84aeabe03b288dc35363ac553ec | |
parent | 5db3312a91637aebcb31ffc11538eb265c5e2967 (diff) |
refactor: fix sensor address type
-rw-r--r-- | src/gyronardo.cpp | 2 |
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; |