-
Notifications
You must be signed in to change notification settings - Fork 26
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
non-void function error #8
Comments
Hello James, thank you for your answer. 21:37:22.005 -> Connecting Wifi: WIRELESS2 The last three lines repeat continuously. Thank you |
My time zone is: TIMEZONE = " CET-1CEST-2,M3.5.0/02,M10.5.0/03"; It's the same leaving the default timezone. Yes, that's the code. |
Do you have a space at the beginning of that timezone string? |
Hello, That was a mistake with copy and paste from the code. There is no space. Thank you |
I have the same problem .... If I comment the mDSN statement's my ESP32 keeps crashing ..
|
what is your "devname"? Is it a simple short text string - no spaces, punctuation, etc? |
@jameszah It loops when dns is active like MikeGitHubRPi listed in his second comment. Tried various tzChar strings (short (GMT) long, with first char as space and without first char space) board is a TTGO-Camera. I edited the pins to a working set (from an other sketch). |
try new version 8.9 That non-void function return warning seems to be a new feature of the compiler 1.8.19 or so. Added a work-around to the main program for handshake timeout problem to avoid having to go back to 2.0.1 Also looked at the 4 old picture problem in another comment. I suppose this is way people ask "what compiler, library, hardware, ...." |
@jameszah about version 8.9:
in
What is I have added a tab
I added #defines for also in
|
I only use the esp32-cam module. I don't have those others to test. You have to find our pir pin, determine if it active-high or active low, and then modify setupinterupts() for your board (at the link below after pirpin definition) It prints out the status of your pir at the reboot to show you what your pir is telling you during boot. Pin 12 is an sd-card pin on esp32-cam -- it does not do anything in this program.
|
Hello James, thank you very much for your code.
I have a problem when compiling in Arduino IDE:
In function 'esp_err_t start_avi()':
warning: no return statement in function returning non-void [-Wreturn-type]
} // end of start avi
^
In function 'esp_err_t another_save_avi(camera_fb_t*)':
warning: no return statement in function returning non-void [-Wreturn-type]
} // end of another_pic_avi
^
In function 'esp_err_t end_avi()':
warning: no return statement in function returning non-void [-Wreturn-type]
}
^
In function 'bool init_wifi()':
warning: control reaches end of non-void function [-Wreturn-type]
Serial.println(WiFi.localIP());
I've tried rolling back to library versions described in the header but same response.
Any idea about that warning?
Thank you
The text was updated successfully, but these errors were encountered: