Skip to content

Commit

Permalink
Merge pull request #9 from dmitrychepel/user/chepel_d/const2enums
Browse files Browse the repository at this point in the history
remove magics
  • Loading branch information
dmitrychepel authored Jan 7, 2021
2 parents 5d6aec4 + e495fd1 commit c10836f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/zcl_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static void zclApp_ReadSensors(void) {
currentSensorsReadingPhase++;
//missed break means: do not initiate new read iteration in case of missing ds18b20 sensor
case 4:
if (temp_sensor_type == EBME280) {
if (temp_sensor_type == EDS18B20) {
temp = readTemperature();
if (temp == 1) {
temp_sensor_type = ENOTFOUND;
Expand Down

0 comments on commit c10836f

Please sign in to comment.