Skip to content

Commit

Permalink
Support for old ledfreq KHZ800
Browse files Browse the repository at this point in the history
  • Loading branch information
thankthemaker committed Oct 29, 2023
1 parent 521ac2c commit 2a8c83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LedControllerFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ uint8_t LedControllerFactory::determineLedType(bool lightBar) {
} else {
ledFreqStr = std::string(AppConfiguration::getInstance()->config.ledFrequency.c_str());
}
if (ledFreqStr == "800kHz") {
if (ledFreqStr == "800kHz" || ledFreqStr == "KHZ800") {
ledType = ledType + 0x0000;
} else {
ledType = ledType + 0x0100;
Expand Down

0 comments on commit 2a8c83a

Please sign in to comment.