mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-24 10:40:59 +03:00
remove flood in case of error
This commit is contained in:
@@ -116,7 +116,7 @@ static void proc_enc(uint8_t idx){
|
|||||||
if(CDCready[I_CMD] && the_conf.flags.debug){
|
if(CDCready[I_CMD] && the_conf.flags.debug){
|
||||||
CMDWR("Err, restart SPI "); USB_putbyte(I_CMD, '1'+idx); CMDn();
|
CMDWR("Err, restart SPI "); USB_putbyte(I_CMD, '1'+idx); CMDn();
|
||||||
}
|
}
|
||||||
spi_start_enc(idx); // restart measurement
|
//spi_start_enc(idx); // restart measurement
|
||||||
}
|
}
|
||||||
if(the_conf.flags.monit) monitT[idx] = Tms;
|
if(the_conf.flags.monit) monitT[idx] = Tms;
|
||||||
else if(testflag) spi_start_enc(idx);
|
else if(testflag) spi_start_enc(idx);
|
||||||
|
|||||||
Reference in New Issue
Block a user