Suppressed unused heapMemoryUsed warning when using CO_USE_GLOBAL (#235)
This commit is contained in:
parent
2d7590a407
commit
5350ecbda0
1 changed files with 2 additions and 0 deletions
|
|
@ -456,6 +456,8 @@ void CO_delete(void *CANptr) {
|
|||
CO_ReturnError_t CO_new(uint32_t *heapMemoryUsed) {
|
||||
int16_t i;
|
||||
|
||||
(void)heapMemoryUsed;
|
||||
|
||||
/* If CANopen was initialized before, return. */
|
||||
if (CO != NULL) {
|
||||
return CO_ERROR_NO;
|
||||
|
|
|
|||
Loading…
Reference in a new issue