CANopen: static analysis: cannot assign 'unsigned16' to narrower essential type 'unsigned8' [MISRA 2012 Rule 10.3, required]
This commit is contained in:
parent
0f06b1022d
commit
24065d5751
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#else
|
||||
#include "OD.h"
|
||||
#define CO_GET_CO(obj) ((uint16_t)(CO_##obj))
|
||||
#define CO_GET_CNT(obj) ((uint16_t)(OD_CNT_##obj))
|
||||
#define CO_GET_CNT(obj) (uint8_t)(OD_CNT_##obj)
|
||||
#define OD_GET(entry, index) OD_ENTRY_##entry
|
||||
|
||||
/* Verify parameters from "OD.h" and calculate necessary values for each object:
|
||||
|
|
|
|||
Loading…
Reference in a new issue