Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Wilson committed Nov 14, 2024
1 parent 265c2ca commit 9876509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/self_test/self_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ void self_test(void * pvParameters)
asic_temp_new = EMC2101_get_external_temp();
}

float offset = asic_temp - air_temp;
float offset = asic_temp_new - air_temp;
ESP_LOGI(TAG, "Temp Offset: %f", offset);
//Multiply by 10 to add some precision, divide by 10 when get_u16
nvs_config_set_u16(NVS_CONFIG_EXTERNAL_TEMP_OFFSET, offset * 10);
Expand Down

0 comments on commit 9876509

Please sign in to comment.