backport fixes for initialization of digi modes.

Hi airween,

to fix the digimode problem the attached patch has to be applied. The lines in question have to be dropped. Thanks for the report.