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

Fix WipperSnapper GCC bugs for ESP32-2.0.4 #282

Merged
merged 6 commits into from
Jul 11, 2022
Merged

Fix WipperSnapper GCC bugs for ESP32-2.0.4 #282

merged 6 commits into from
Jul 11, 2022

Conversation

brentru
Copy link
Member

@brentru brentru commented Jul 11, 2022

Will release once #281 is also tested and in-place

@brentru brentru requested a review from ladyada July 11, 2022 16:44
@@ -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;
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@brentru brentru merged commit 6b1c508 into adafruit:main Jul 11, 2022
@brentru
Copy link
Member Author

brentru commented Jul 11, 2022

@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/.

@makermelissa
Copy link
Collaborator

Thanks, just checking. :)

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.

3 participants