1
0
Fork 0
CANopenNode/stack/drvTemplate
Oleg f2283e3ca9 Warnings omitted (#144)
* All Warnings omitted
Now all warnings that came up in previous versions are fixed in a clean way directly in the code.
Inlcudes:
Shadowing
Missing default cases
Missing cases in switch statements
unused variables
Pointer problems
Function declarations' visibility

* Default case for NMTsendCommand
Default case was not catched before and could led to errors.

* fix typo when omitting warnings

* Omitting more warnings, and fix TIME->CANrxNew nulling

Inlcudes:
large integer implicitly truncated to unsigned type
this statement may fall through

* rename CO_this to co

* fix CO_process_SYNC name (CANopenNode master merging issue)

Co-authored-by: Michele B. <MicheleBlank@gmx-topmail.de>

----
Verified before merge. It is cleanup, no deep changes.
2020-01-15 13:40:30 +01:00
..
CO_driver.c Warnings omitted (#144) 2020-01-15 13:40:30 +01:00
CO_driver_target.h License changed to Apache 2.0 - main part 2020-01-08 14:52:56 +01:00
eeprom.c License changed to Apache 2.0 - main part 2020-01-08 14:52:56 +01:00
eeprom.h License changed to Apache 2.0 - main part 2020-01-08 14:52:56 +01:00