kopia lustrzana https://github.com/piotr022/UV_K5_playground
rodzic
2d48467914
commit
37830cada6
|
@ -90,6 +90,12 @@ public:
|
|||
return eScreenRefreshFlag::NoRefresh;
|
||||
}
|
||||
|
||||
if (Context.ViewStack.GetTop() || !(u32DrawVoltagePsc++ % 8))
|
||||
{
|
||||
PrintBatteryVoltage();
|
||||
return eScreenRefreshFlag::StatusBar;
|
||||
}
|
||||
|
||||
bPtt = !(GPIOC->DATA & GPIO_PIN_5);
|
||||
if (RadioDriver.IsSqlOpen() || bPtt)
|
||||
{
|
||||
|
@ -114,12 +120,6 @@ public:
|
|||
u8SqlDelayCnt++;
|
||||
bIsCleared = false;
|
||||
|
||||
if (Context.ViewStack.GetTop() || !(u32DrawVoltagePsc++ % 8))
|
||||
{
|
||||
PrintBatteryVoltage();
|
||||
return eScreenRefreshFlag::StatusBar;
|
||||
}
|
||||
|
||||
if(bPtt)
|
||||
{
|
||||
RssiData.s16Rssi = RadioDriver.GetAFAmplitude();
|
||||
|
|
Ładowanie…
Reference in New Issue