Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: Current code produces warnings for possible value overflows. (#6665) | Bevan Weiss | 2024-08-14 | 1 | -1/+3 |
| | | | | | | | | | | As the input values are uint8_t types, any shift may result in value loss. Explicit promotion to the output type (uint32_t) keeps things safe. Have also changed the int32_t in ads1220_read_adc to uint32_t, type promotion and bit manipulation are a bit 'weird' on signed integers, so keep it as an unsigned to align with following function call parameter type. Have retained the prior explicit sign extension logic however. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com> | ||||
* | ads1220: Add ADS1220 bulk sensor to load_cell | Gareth Farrington | 2024-07-31 | 1 | -0/+161 |
Add support for the ADS1220 as an alternative to HX71x that supports SPI and higher sample rates. Signed-off-by: Gareth Farrington <gareth@waves.ky> |