Fix the stored device mode. (e.g. MANUAL mode was returned as BOOST)
Merge remote-tracking branch 'origin/maxcube' into maxcube