generated from hulk/gd32e23x_template_cmake_vscode
debug version
This commit is contained in:
@@ -86,7 +86,8 @@ tmp112a_status_t tmp112a_read_temperature(tmp112a_result_t *result) {
|
||||
}
|
||||
|
||||
void tmp112a_get_raw_temperature_value(uint8_t *value) {
|
||||
i2c_read_16bits(TMP112A_ADDR, TMP112A_TEMP_REG, value);
|
||||
// i2c_read_16bits(TMP112A_ADDR, TMP112A_TEMP_REG, value);
|
||||
i2c_read(TMP112A_ADDR, TMP112A_TEMP_REG, value, 2);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user