fix(modem): Fix typo GENETIC -> GENERIC in mode types

Closes https://github.com/espressif/esp-protocols/issues/667
This commit is contained in:
David Cermak
2024-11-20 10:25:20 +01:00
parent 295d99df96
commit 090b1ff845
3 changed files with 7 additions and 3 deletions

View File

@ -44,7 +44,7 @@ inline dce_factory::ModemType convert_modem_enum(esp_modem_dce_device_t module)
case ESP_MODEM_DCE_SIM800:
return esp_modem::dce_factory::ModemType::SIM800;
default:
case ESP_MODEM_DCE_GENETIC:
case ESP_MODEM_DCE_GENERIC:
return esp_modem::dce_factory::ModemType::GenericModule;
}
}