fix compile error and warnings

This commit is contained in:
lumapu 2023-11-20 23:33:26 +01:00
parent 8fb7bf1fcf
commit ba8d1f3fc3
3 changed files with 11 additions and 4 deletions

View file

@ -556,7 +556,7 @@ class RestApi {
obj[F("en")] = (bool) mConfig->nrf.enabled;
obj[F("isconnected")] = mRadioNrf->isChipConnected();
obj[F("dataRate")] = mRadioNrf->getDataRate();
obj[F("sn")] = String(mRadioCmt->getDTUSn(), HEX);
obj[F("sn")] = String(mRadioNrf->getDTUSn(), HEX);
}
void getSerial(JsonObject obj) {