Setting default squelch level at boot to S3 for all platforms. Solves #44
This commit is contained in:
parent
17cdf3c67b
commit
83fdfc4367
|
|
@ -72,12 +72,7 @@ void state_init()
|
||||||
}
|
}
|
||||||
state.zone_enabled = false;
|
state.zone_enabled = false;
|
||||||
state.rtxStatus = RTX_OFF;
|
state.rtxStatus = RTX_OFF;
|
||||||
#ifdef HAS_ABSOLUTE_KNOB // If the radio has an absolute position knob
|
state.sqlLevel = 4; // Default Squelch: S3 = 4
|
||||||
state.sqlLevel = platform_getChSelector() - 1;
|
|
||||||
#else
|
|
||||||
// Default Squelch: S3 = 4
|
|
||||||
state.sqlLevel = 4;
|
|
||||||
#endif
|
|
||||||
state.voxLevel = 0;
|
state.voxLevel = 0;
|
||||||
|
|
||||||
state.emergency = false;
|
state.emergency = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue