Compilation fix

This commit is contained in:
Bertrand Songis
2019-03-27 14:40:32 +01:00
parent db6252ee79
commit 0045613efa
@@ -91,8 +91,8 @@ void drawPower(coord_t x, coord_t y, int8_t dBm)
bool isPowerAvailable(int value)
{
uint8_t modelId = reusableBuffer.hardwareAndSettings.modules[g_moduleIdx].information.modelID;
uint8_t variant = reusableBuffer.hardwareAndSettings.modules[g_moduleIdx].information.variant;
// uint8_t modelId = reusableBuffer.hardwareAndSettings.modules[g_moduleIdx].information.modelID;
// uint8_t variant = reusableBuffer.hardwareAndSettings.modules[g_moduleIdx].information.variant;
return (value == 10 /* 10 mW */ ||
value == 14 /* 25 mW */ ||