Skip to content

Commit

Permalink
chip::to_underlying is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
BurievSardor committed Oct 27, 2023
1 parent 02e7647 commit de79f8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void AirQualitySensorManager::Init()
void AirQualitySensorManager::OnAirQualityChangeHandler(AirQualityEnum newValue)
{
mAirQualityInstance.UpdateAirQuality(static_cast<AirQualityEnum>(newValue));
ChipLogDetail(NotSpecified, "Updated AirQuality value: %huu", newValue);
ChipLogDetail(NotSpecified, "Updated AirQuality value: %huu", chip::to_underlying(newValue));
}

void AirQualitySensorManager::OnCarbonDioxideMeasurementChangeHandler(float newValue)
Expand Down

0 comments on commit de79f8b

Please sign in to comment.