mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Old fix
This commit is contained in:
1 parent
0b0d79a078
commit
1b70bc9f5b
1 file changed
+1
-1
+1
-1
@@ -1027,7 +1027,7 @@ void RADIO_SetModulation(ModulationMode_t modulation)
|
||||
void RADIO_SetupAGC(bool listeningAM, bool disable)
|
||||
{
|
||||
static uint8_t lastSettings;
|
||||
uint8_t newSettings = (listeningAM << 1) | (disable << 1);
|
||||
uint8_t newSettings = (listeningAM << 1) | disable;
|
||||
if(lastSettings == newSettings)
|
||||
return;
|
||||
lastSettings = newSettings;
|
||||
|
||||
Reference in new issue
Block a user