Improved rssi calcculation

debug code to check panels incorrectly display
small calculation fixed