Skip to content

Commit

Permalink
Fix function names (project-chip#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 erwinpan1 committed Jul 21, 2023
1 parent 6e622e5 commit 549ff89
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 549ff89

Please sign in to comment.