Skip to content

Conversation

@IoTPanic
Copy link
Contributor

Changed the end() function so only if the platform implementation of TwoWire supports using the TwoWire->end() function, the TwoWire->end() function will be used. This was brought up since ESP32 framework doesn't have an end function to call.

The Arduino docs do not specify an end function as a official TwoWire API call, rather if the implementation supports it a WIRE_HAS_END constant will be defined and set to 1.

@github-actions
Copy link

Memory usage change @ a303c11

Board flash % RAM for global variables %
arduino:mbed_nano:nano33ble 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/ReadPressure
flash
% examples/ReadPressure
RAM for global variables
% examples/ReadPressureImperial
flash
% examples/ReadPressureImperial
RAM for global variables
%
arduino:mbed_nano:nano33ble 0 0.0 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,examples/ReadPressure<br>flash,%,examples/ReadPressure<br>RAM for global variables,%,examples/ReadPressureImperial<br>flash,%,examples/ReadPressureImperial<br>RAM for global variables,%
arduino:mbed_nano:nano33ble,0,0.0,0,0.0,0,0.0,0,0.0

Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Thank you @IoTPanic !

@aentinger aentinger merged commit 4b7da93 into arduino-libraries:master Sep 16, 2021
@IoTPanic
Copy link
Contributor Author

@aentinger would you mind incrementing the minor version number so this fix and other fixes pending can be downloaded by PlatformIO properly?

@aentinger
Copy link
Contributor

@IoTPanic here you go ... https://github.com/arduino-libraries/Arduino_LPS22HB/releases/tag/1.0.2 😉

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.

2 participants