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

This commit is contained in:
Federico Amedeo Izzo 2021-03-13 22:21:23 +01:00
parent fb9d8afb6c
commit 9e7b04c1fa
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ void state_init()
// Set default channel index (it is 1-based) // Set default channel index (it is 1-based)
state.channel_index = 1; state.channel_index = 1;
// Read VFO channel from Flash storage // 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 // If the read fails set VFO channel default settings
state.channel.mode = FM; state.channel.mode = FM;