Update example/main_blank.c, fix problems with LSS.
Other microcontrollers should fix this too, see https://github.com/CANopenNode/CanOpenSTM32/pull/67
This commit is contained in:
parent
c7a4d26b38
commit
c804f7de47
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ main(void) {
|
|||
}
|
||||
|
||||
err = CO_CANopenInitPDO(CO, CO->em, OD, activeNodeId, &errInfo);
|
||||
if (err != CO_ERROR_NO) {
|
||||
if (err != CO_ERROR_NO && err != CO_ERROR_NODE_ID_UNCONFIGURED_LSS) {
|
||||
if (err == CO_ERROR_OD_PARAMETERS) {
|
||||
log_printf("Error: Object Dictionary entry 0x%X\n", errInfo);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue