Disable reading VFO channel from flash to fix boot freeze on GD-77

replace/8dd2a180d97bd88d92fab0088aa11dc2ca5479fb
Federico Amedeo Izzo 2021-03-13 22:21:23 +01:00
rodzic fb9d8afb6c
commit 9e7b04c1fa
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -46,7 +46,9 @@ void state_init()
// Set default channel index (it is 1-based)
state.channel_index = 1;
// Read VFO channel from Flash storage
if(nvm_readVFOChannelData(&state.channel) != 0)
// HACK: Temporarily disabled to fix splash screen freeze on GD-77
//if(nvm_readVFOChannelData(&state.channel) != 0)
if(1)
{
// If the read fails set VFO channel default settings
state.channel.mode = FM;