CO_NMT_Heartbeat: static analysis: cannot assign 'signed32' to different essential type 'unsigned32' [MISRA 2012 Rule 10.3, required]
This commit is contained in:
parent
c25fec2176
commit
1da8f44821
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ CO_ReturnError_t CO_NMT_init(CO_NMT_t *NMT,
|
|||
NMT->nodeId = nodeId;
|
||||
NMT->NMTcontrol = NMTcontrol;
|
||||
NMT->em = em;
|
||||
NMT->HBproducerTimer = (int32_t)firstHBTime_ms * 1000;
|
||||
NMT->HBproducerTimer = (uint32_t)firstHBTime_ms * 1000U;
|
||||
|
||||
/* get and verify required "Producer heartbeat time" from Object Dict. */
|
||||
uint16_t HBprodTime_ms;
|
||||
|
|
|
|||
Loading…
Reference in a new issue