mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 09:06:02 +00:00
TFT branch - minor cherry picks (#5676)
* fix missing include * fix request, add handled --------- Co-authored-by: mverch67 <manuel.verch@gmx.de>
This commit is contained in:
parent
ed39d14c85
commit
ae93f3fa3f
@ -1,5 +1,6 @@
|
||||
#include <Arduino.h>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
#define BoolToString(x) ((x) ? "true" : "false")
|
||||
|
||||
|
@ -243,6 +243,7 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta
|
||||
case meshtastic_AdminMessage_store_ui_config_tag: {
|
||||
LOG_INFO("Storing device-ui config");
|
||||
handleStoreDeviceUIConfig(r->store_ui_config);
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
case meshtastic_AdminMessage_begin_edit_settings_tag: {
|
||||
@ -1010,7 +1011,7 @@ void AdminModule::handleGetDeviceUIConfig(const meshtastic_MeshPacket &req)
|
||||
{
|
||||
meshtastic_AdminMessage r = meshtastic_AdminMessage_init_default;
|
||||
r.which_payload_variant = meshtastic_AdminMessage_get_ui_config_response_tag;
|
||||
r.store_ui_config = uiconfig;
|
||||
r.get_ui_config_response = uiconfig;
|
||||
myReply = allocDataProtobuf(r);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user