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

Two small fix #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Two small fix #17

wants to merge 2 commits into from

Conversation

ELAPS0
Copy link

@ELAPS0 ELAPS0 commented Jun 13, 2024

  1. Add esp_wifi dependency into CMakeLists.txt to prevent compilation error
    ninja: build stopped: subcommand failed. Compilation failed because tcp_handler.h (in "wifi_logger" component) includes esp_wifi.h, provided by esp_wifi component(s). However, esp_wifi component(s) is not in the requirements list of "wifi_logger". To fix this, add esp_wifi to REQUIRES list of idf_component_register call in /work/espidf/pump/components/wifi_logger/CMakeLists.txt.
  2. Replace unknown type uint, because I have got error:
    /work/espidf/pump/components/wifi_logger/include/utils.h:10:38: error: 'uint' was not declared in this scope; did you mean 'int'? 10 | char* generate_log_message_timestamp(uint log_level, uint32_t timestamp, char* log_message);

REQUIRES esp_wifi protocol_examples_common nvs_flash esp_websocket_client )
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the whitespace at the end of the line

#endif
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't remove the empty last line

}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same don't remove the last line.

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

Successfully merging this pull request may close these issues.

2 participants