Skip to content

Commit

Permalink
Fix function names (#28100)
Browse files Browse the repository at this point in the history
Co-authored-by: Hare <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Oct 22, 2023
1 parent bb0e359 commit 69e2e8d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,15 +319,15 @@ void SmokeCoAlarmManager::TriggerEventHandler(AppEvent * aEvent)
break;

case kTriggeredEvent_SensitivityLevelHigh:
SmokeCoAlarmServer::Instance().SetSensitivityLevel(1, SensitivityEnum::kHigh);
SmokeCoAlarmServer::Instance().SetSmokeSensitivityLevel(1, SensitivityEnum::kHigh);
break;

case kTriggeredEvent_SensitivityLevelLow:
SmokeCoAlarmServer::Instance().SetSensitivityLevel(1, SensitivityEnum::kLow);
SmokeCoAlarmServer::Instance().SetSmokeSensitivityLevel(1, SensitivityEnum::kLow);
break;

case kTriggeredEvent_SensitivityLevelClear:
SmokeCoAlarmServer::Instance().SetSensitivityLevel(1, SensitivityEnum::kStandard);
SmokeCoAlarmServer::Instance().SetSmokeSensitivityLevel(1, SensitivityEnum::kStandard);
break;
}

Expand Down

0 comments on commit 69e2e8d

Please sign in to comment.