Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when compiling in PlatformIO #5

Open
rafaelsales opened this issue Nov 15, 2019 · 0 comments
Open

Warning when compiling in PlatformIO #5

rafaelsales opened this issue Nov 15, 2019 · 0 comments

Comments

@rafaelsales
Copy link

Compiling .pio/build/esp32doit-devkit-v1/src/main.o
src/main.c: In function 'app_main':
src/main.c:225:14: warning: passing argument 1 of 'xTaskCreate' from incompatible pointer type [-Wincompatible-pointer-types]
  xTaskCreate(&task_ssd1306_display_text, "ssd1306_display_text",  2048,
              ^
In file included from src/main.c:3:0:
/Users/raf/.platformio/packages/framework-espidf/components/freertos/include/freertos/task.h:432:37: note: expected 'TaskFunction_t {aka void (*)(void *)}' but argument is of type 'void (*)(const void *)'
  static inline IRAM_ATTR BaseType_t xTaskCreate(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant