105,6 → 105,25 |
} |
} |
else |
if(Partner_ErrorCode) |
{ |
static unsigned int timer; |
static char toggle = 1; |
|
if(CheckDelay(timer)) { if(toggle) toggle = 0; else toggle = 1; timer = SetDelay(1500);}; |
if(toggle) |
{ |
LIBFC_JetiBox_SetPos(0); |
_printf_P(&LIBFC_JetiBox_Putchar, NC_ERROR_TEXT[Partner_ErrorCode] , 0); |
} |
else |
{ |
if(IamMaster == SLAVE) JetiBox_printfxy(6,0,"MA-ERR:%2d ",Partner_ErrorCode) |
else JetiBox_printfxy(6,0,"SL-ERR:%2d ",Partner_ErrorCode); |
// if(MotorenEin) JetiBeep = 'O'; |
} |
} |
else |
if(NC_To_FC_Flags & NC_TO_FC_SIMULATION_ACTIVE) |
{ |
JetiBox_printfxy(6,0,"SIMULATION"); |