             #ifdef _RSSI_ICON
             if(settings.m_displaySymbols == 1 && settings.m_IconSettings[RSSI_ICON] == 1)
             {
-              const uint8_t maxRSSIvalue = 50;
+              static const uint8_t maxRSSIvalue = 50;
               iconPrintBuf1[0] = 0x12;
               iconPrintBuf1[1] = 0x15;
               rssiVal -= 30;

          {            
            batteryIcon[1] = 0x84;
            batteryIcon[2] = 0x84;
            getIconPos(settings.m_batMAH[settings.m_activeBattery]-statMAH, settings.m_batMAH[settings.m_activeBattery], 8, batteryIcon[2], batteryIcon[1]);
            OSD.checkPrintLength(settings.m_OSDItems[MAH][0], settings.m_OSDItems[MAH][1], 4, zeroBlanks, MAHp);
            OSD.print(batteryIcon);           
          }

static uint16_t  previousMAH = 0;
static uint16_t totalMAH = 0;
static uint16_t statMAH = 0;
static uint16_t remainMAH = 0;
static uint16_t MaxAmps = 0;
static uint8_t  MaxC    = 0;
static uint16_t MaxRPMs = 0;
