@@ -915,17 +915,21 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
915915 64 - (correctionIconAttributes[i].yOffset + correctionIconAttributes[i].height );
916916 correctionsIconPosCalculated = true ;
917917 }
918- CORRECTION_ID_T correctionSource = correctionGetSource ();
919- if (correctionSource < CORR_NUM )
918+
919+ if (inRoverMode () == true )
920920 {
921- iconPropertyBlinking prop;
922- prop.duty = 0b11111111 ;
923- prop.icon .bitmap = correctionIconAttributes[correctionSource].pointer ;
924- prop.icon .width = correctionIconAttributes[correctionSource].width ;
925- prop.icon .height = correctionIconAttributes[correctionSource].height ;
926- prop.icon .xPos = correctionsIconXPos128x64 + correctionIconAttributes[correctionSource].xOffset ;
927- prop.icon .yPos = correctionsIconYPos128x64 + correctionIconAttributes[correctionSource].yOffset ;
928- iconList->push_back (prop);
921+ CORRECTION_ID_T correctionSource = correctionGetSource ();
922+ if (correctionSource < CORR_NUM)
923+ {
924+ iconPropertyBlinking prop;
925+ prop.duty = 0b11111111 ;
926+ prop.icon .bitmap = correctionIconAttributes[correctionSource].pointer ;
927+ prop.icon .width = correctionIconAttributes[correctionSource].width ;
928+ prop.icon .height = correctionIconAttributes[correctionSource].height ;
929+ prop.icon .xPos = correctionsIconXPos128x64 + correctionIconAttributes[correctionSource].xOffset ;
930+ prop.icon .yPos = correctionsIconYPos128x64 + correctionIconAttributes[correctionSource].yOffset ;
931+ iconList->push_back (prop);
932+ }
929933 }
930934 }
931935 }
0 commit comments