Skip to content

error: passing argument 3 of 'uxTaskGetSystemState' from incompatible pointer type [-Wincompatible-pointer-types] (AEGHB-1125) #145

@franz-ms-muc

Description

@franz-ms-muc

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

ESP-IDF 5.4.1
espressif/esp-now: version: 2.5.2

/home/franz/git/hr/LOGIBUS_integration_HutschienenmopedXL/Application/managed_components/espressif__esp-now/src/utils/src/espnow_mem.c: In function 'espnow_mem_print_task':
/home/franz/git/hr/LOGIBUS_integration_HutschienenmopedXL/Application/managed_components/espressif__esp-now/src/utils/src/espnow_mem.c:148:72: error: passing argument 3 of 'uxTaskGetSystemState' from incompatible pointer type [-Wincompatible-pointer-types]
  148 |     uxArraySize = uxTaskGetSystemState(pxTaskStatusArray, uxArraySize, &ulTotalRunTime);
      |                                                                        ^~~~~~~~~~~~~~~
      |                                                                        |
      |                                                                        uint32_t * {aka long unsigned int *}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions