headlights always on because no screen

This commit is contained in:
Rémi Heredero 2023-09-13 12:58:46 +02:00
parent 73b5594786
commit c2c1104297

View File

@ -228,7 +228,8 @@ void CM_processIncome(uint8_t idSender, uint8_t idMsg, bool rtr, uint32_t data){
// TODO display say ALIVE
eKart.powerMode = incomeData.separate.byte0;
if (eKart.powerMode == 0) {
CM_HEADLIGHTS(&ALWAYSFALSE);
// CM_HEADLIGHTS(&ALWAYSFALSE);
CM_HEADLIGHTS(&ALWAYSTRUE);
} else {
CM_HEADLIGHTS(&ALWAYSTRUE);
}