Skip to content

Commit

Permalink
fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-g-neu committed Oct 20, 2024
1 parent 9cd3279 commit 7ac74c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Src/mpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int8_t read_temp_sensor(mpu_t *mpu, uint16_t *temp, uint16_t *humidity)
// updated to use int return type
int status = sht30_get_temp_humid(&mpu->temp_sensor);
if (status != 0)
return status;s
return status;

*temp = mpu->temp_sensor.temp;
*humidity = mpu->temp_sensor.humidity;
Expand Down

0 comments on commit 7ac74c9

Please sign in to comment.