Skip to content

Commit

Permalink
Fix warning: extra tokens at end of #endif directive. (#4432)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mictronics authored Aug 10, 2024
1 parent debf4b9 commit 8daebf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/AdminModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,8 @@ void AdminModule::handleGetDeviceConnectionStatus(const meshtastic_MeshPacket &r
conn.serial.is_connected = powerFSM.getState() == &stateSERIAL;
#else
conn.serial.is_connected = powerFSM.getState();
#endif conn.serial.baud = SERIAL_BAUD;
#endif
conn.serial.baud = SERIAL_BAUD;

r.get_device_connection_status_response = conn;
r.which_payload_variant = meshtastic_AdminMessage_get_device_connection_status_response_tag;
Expand Down

0 comments on commit 8daebf8

Please sign in to comment.