-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix WipperSnapper GCC bugs for ESP32-2.0.4 #282
Conversation
@@ -365,7 +365,8 @@ void WipperSnapper_Component_I2C::deinitI2CDevice( | |||
for (iter = drivers.begin(), end = drivers.end(); iter != end; ++iter) { | |||
if ((*iter)->getI2CAddress() == deviceAddr) { | |||
// Delete the object that iter points to | |||
delete *iter; | |||
// delete *iter; | |||
*iter = nullptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not delete? which is OK, as long as its not allocated by you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@makermelissa Yes. https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/blob/main/.github/workflows/build-clang-doxy.yml#L38 was added in this PR as it temporarily fixes espressif/arduino-esp32#6962 (I've integrated this patch only for the feather in the brentru repo). The brentru/mqtt dep is also supposed to be there, but it's a much older dependency. I need to check over what changes I've made that warrant it being brentru/ instead of adafruit/. |
Thanks, just checking. :) |
--no_warn
flag on ci-arduino runsWill release once #281 is also tested and in-place