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

miss some head includes in esp_afe_config.h (AIS-1180) #68

Open
IamFive opened this issue May 12, 2023 · 0 comments
Open

miss some head includes in esp_afe_config.h (AIS-1180) #68

IamFive opened this issue May 12, 2023 · 0 comments

Comments

@IamFive
Copy link

IamFive commented May 12, 2023

it requires stdbool and esp_err.

code blow will raise error in ide:

#include "esp_afe_config.h"
afe_config_t afe_config = AFE_CONFIG_DEFAULT();

image

but if update code to this, it works. I did not find out why it requires esp_err.h, :(

#include <stdbool.h>

#include "esp_err.h"
#include "esp_afe_config.h"

afe_config_t afe_config = AFE_CONFIG_DEFAULT();
@github-actions github-actions bot changed the title miss some head includes in esp_afe_config.h miss some head includes in esp_afe_config.h (AIS-1180) May 12, 2023
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