WPro58 icon indicating copy to clipboard operation
WPro58 copied to clipboard

Power up in favorites when last mode was favorites

Open pitts-mo opened this issue 6 years ago • 2 comments

I am requesting this feature after finding this desirable when I attended an event utilizing with a channel set across multiple vendor channel sets.

pitts-mo avatar Oct 08 '18 18:10 pitts-mo

I think that the best solution is to save this setting to eeprom when someone enter Search or Fav screen and default with that on startup. Entering other screens won't affect "startup screen" setting.

piodabro avatar Oct 15 '18 19:10 piodabro

I finally had a few minutes to look into this (my local yearly event is coming up). As a temporary fix I have commented PRO58/Src/main.cpp line 185 and added a new line below it as shown.

// StateMachine::switchState(StateMachine::State::SEARCH); StateMachine::switchState(StateMachine::State::FAVOURITES);

When more time allows I hope to poke at: -Add allocation of eeprom space for variable type bit or ??? -Add distinct updates to this new variable on entry to SEARCH and FAVOURITES. -Add checking into the above section of PRO58/Src/main.cpp to auto load state defined by new variable value. -Add fail-safe to pick a state if this eeprom value does not match expected value (corrupted).

pitts-mo avatar Sep 13 '19 11:09 pitts-mo