From 7566ee1fea4477a089636ca2b0e78b84480223d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Wed, 15 Jun 2022 20:03:08 +0200 Subject: [PATCH] C++ is a weird language... --- src/mesh/PhoneAPI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesh/PhoneAPI.cpp b/src/mesh/PhoneAPI.cpp index f93c35895..84ff17d93 100644 --- a/src/mesh/PhoneAPI.cpp +++ b/src/mesh/PhoneAPI.cpp @@ -157,7 +157,7 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf) state = STATE_SEND_NODEINFO; break; - case STATE_SEND_NODEINFO: + case STATE_SEND_NODEINFO: { const NodeInfo *info = nodeInfoForPhone; nodeInfoForPhone = NULL; // We just consumed a nodeinfo, will need a new one next time @@ -174,6 +174,7 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf) return getFromRadio(buf); } break; + } case STATE_SEND_COMPLETE_ID: fromRadioScratch.which_payloadVariant = FromRadio_config_complete_id_tag;