-
Notifications
You must be signed in to change notification settings - Fork 12
ESP32 crash if enableDebugging() not enabled #49
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
Comments
Hi Philippe (@PhilC66 ), Which version of the library do you have installed? Or maybe you modified the library source code? The latest code looks OK to me: SparkFun_u-blox_SARA-R5_Arduino_Library/src/SparkFun_u-blox_SARA-R5_Arduino_Library.cpp Lines 5820 to 5836 in cc961b2
Closing... Please reopen if you need more help with this. Best wishes, |
High Paul, |
Subject of the issue
Describe your issue here.
if enableDebugging() not enabled, ESP32 crash when Initialize the SARA mySARA.begin(saraSerial, Sara_Baud)
in SARA_R5_error_t SARA_R5::init(unsigned long baud,
SARA_R5::SARA_R5_init_type_t initType)
beginSerial(baud);
_debugPort->print("initype:");
_debugPort->println(initType);
_debugPort is null if enableDebugging() not enabled
needs to add
if (_printDebug == true) befor
Thanks
Your workbench
Steps to reproduce
Tell us how to reproduce this issue. Please post stripped down example code demonstrating your issue to a gist.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
The text was updated successfully, but these errors were encountered: