Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cm3cpp/i2c.hpp')
-rw-r--r--cm3cpp/i2c.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm3cpp/i2c.hpp b/cm3cpp/i2c.hpp
index 219217b..dc04771 100644
--- a/cm3cpp/i2c.hpp
+++ b/cm3cpp/i2c.hpp
@@ -152,7 +152,7 @@ class I2c
struct MasterTransferCfg
{
- uint16_t device_address;
+ uint8_t device_address;
uint8_t* write_buf;
uint8_t write_len;
uint8_t read_len;