1
0
Fork 0
CANopenNode/301
Freddie Chopin d272934647
Fix new -Wextra warnings (#185)
* Fix new "unused argument" warnings

* Fix "variable may be used uninitialized" in CO_process_SYNC()

With enabled optimization compiler reports:

CANopen.c: In function ‘CO_process_SYNC’:
CANopen.c:890:12: warning: ‘syncWas’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
  890 |     return syncWas;
      |            ^~~~~~~
2020-05-14 16:23:02 +02:00
..
CO_config.h Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +02:00
CO_driver.h Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +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_fifo.c Fix new -Wextra warnings (#185) 2020-05-14 16:23:02 +02:00
CO_fifo.h Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +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 Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +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 Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +02:00
CO_SDOclient.h Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +02:00
CO_SDOserver.c Fix pointer bug in CO_OD_getFlagsPointer() (#181) 2020-05-12 17:24:06 +02:00
CO_SDOserver.h Added CANopen gateway-ascii command interface according to CiA309-3 as a 2020-05-12 18:11:43 +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