From 4f0d798d3ac638f5484b62cc35e1b8fcee513064 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 1 Mar 2022 09:50:16 +0100 Subject: refactor: fix sensor address type --- src/gyronardo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gyronardo.cpp') 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; -- cgit v1.2.3-18-g5258