diff --git a/src/rcommand.cpp b/src/rcommand.cpp index 3f3093de..adb61a49 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -343,7 +343,7 @@ void set_flush(uint8_t val[]) { // format: opcode, function, #bytes params, // flag (true = do make settings persistent / false = don't) // -static cmd_t table[] = { +static const cmd_t table[] = { {0x01, set_rssi, 1, true}, {0x02, set_countmode, 1, true}, {0x03, set_gps, 1, true}, {0x04, set_display, 1, true}, {0x05, set_loradr, 1, true}, {0x06, set_lorapower, 1, true},