SI4432_Write_Byte(SI4432_GPIO2_CONF,0x1D);// Set GPIO2 output to ground
}elseif(i==1){
set_switch_off();
SI4432_Write_Byte(SI4432_GPIO2_CONF,0x1F);// Set GPIO2 output to ground
}
}
if(setting.mode==M_GENLOW&&(setting.frequency_step!=0||setting.level_sweep!=0.0||i==0)){// if in low output mode and level sweep or frequency weep is active or at start of sweep