Sensirion / embedded-common

Generic Embedded i2c Driver HAL / Common Files
BSD 3-Clause "New" or "Revised" License
30 stars 16 forks source link

Change count to uint8_t #97

Closed psachs closed 1 year ago

psachs commented 1 year ago

Change count for Sensirion I2C HAL from uint16_t to unit8_t. We never have a count that requires 16-bit integers, therefore we can safely change it to 8-bit. This avoids compiler warnings on some platforms.