@ -2151,6 +2151,7 @@ void self_test(int test)
// RBW step time search
in_selftest = true;
reset_settings(M_LOW);
setting.frequency_IF=433900000;
ui_mode_normal();
int i = 15; // calibrate low mode power on 30 MHz;
test_prepare(i);
@ -442,7 +442,7 @@ float SI4432_RSSI(uint32_t i, int s)
i = setting.repeat;
RSSI_RAW = 0;
while (i-->0)
RSSI_RAW += (unsigned int)SI4432_Read_Byte( 0x26 ) << 4 ;
RSSI_RAW += ((unsigned int)SI4432_Read_Byte( 0x26 )) << 4 ;
RSSI_RAW = RSSI_RAW / setting.repeat;
// if (MODE_INPUT(setting.mode) && RSSI_RAW == 0)
// SI4432_Init();
Powered by TurnKey Linux.