1
0
Fork 0
CANopenNode/301
Paolo Teti 61fc785fab
CO_SYNC_process: use enums instead of uint8_t (#182)
Replace hard-coded values with enums and explicit manage all enumeration
values in CO_process_SYNC() to avoid warnings like this:

CANopen.c:837:5: warning: enumeration value ‘CO_SYNC_NONE’ not handled in switch [-Wswitch]
  837 |     switch (sync_process) {
      |     ^~~~~~
2020-05-12 17:35:16 +02:00
..
CO_config.h Convert {T,R}PDO_CALLS_EXTENSION to CO_CONFIG_{T,R}PDO_CALLS_EXTENSION 2020-05-06 18:22:50 +02:00
CO_driver.h Update configuration macros. SDO state machine preview. 2020-04-29 13:12:07 +02:00
CO_Emergency.c Replace all memcpy/memset-like functions with standard <string.h> functions (#175) 2020-05-04 11:22:32 +02:00
CO_Emergency.h Minor corrections in documentation. 2020-04-03 11:43:14 +02:00
CO_HBconsumer.c Make calculation of timerNext_us optional. 2020-03-20 16:44:37 +01:00
CO_HBconsumer.h Minor corrections in documentation. 2020-04-03 11:43:14 +02:00
CO_NMT_Heartbeat.c Make calculation of timerNext_us optional. 2020-03-20 16:44:37 +01:00
CO_NMT_Heartbeat.h Minor corrections in documentation. 2020-04-03 11:43:14 +02:00
CO_PDO.c Convert {T,R}PDO_CALLS_EXTENSION to CO_CONFIG_{T,R}PDO_CALLS_EXTENSION 2020-05-06 18:22:50 +02:00
CO_PDO.h Add CO_..._initCallbackPre() for RPDO and SYNC (#178) 2020-05-05 13:23:26 +02:00
CO_SDOclient.c Make calculation of timerNext_us optional. 2020-03-20 16:44:37 +01:00
CO_SDOclient.h Add Stack configuration macros to most of CANopenNode objects. 2020-03-19 18:07:23 +01:00
CO_SDOserver.c Fix pointer bug in CO_OD_getFlagsPointer() (#181) 2020-05-12 17:24:06 +02:00
CO_SDOserver.h Replace all memcpy/memset-like functions with standard <string.h> functions (#175) 2020-05-04 11:22:32 +02:00
CO_SYNC.c CO_SYNC_process: use enums instead of uint8_t (#182) 2020-05-12 17:35:16 +02:00
CO_SYNC.h CO_SYNC_process: use enums instead of uint8_t (#182) 2020-05-12 17:35:16 +02:00
CO_TIME.c Add CO_TIME_initCallbackPre() for received TIME messages 2020-05-06 18:08:45 +02:00
CO_TIME.h Add CO_TIME_initCallbackPre() for received TIME messages 2020-05-06 18:08:45 +02:00
crc16-ccitt.c Drivers removed from stack, directory structure rearranged. 2020-02-05 10:52:56 +01:00
crc16-ccitt.h Drivers removed from stack, directory structure rearranged. 2020-02-05 10:52:56 +01:00