Closed pu239ppy closed 2 years ago
Memory usage change @ d708571cc2fa6c2618d49d29fc424a97473ee33f
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:megaavr:uno2018 | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:nano_33_iot | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
Memory usage change @ 0bfb4983f1f28df90022714f597e7817876cad4b
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:megaavr:uno2018 | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:nano_33_iot | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
👋 ping
LGTM!
Recently I attempted to subclass
LSM6DS3Class
in order to add additional functionality in my sketch, I discovered that many of thedefine
s I expected to work such as register addresses and LSM6DS3_ADDRESS are defined in the LSM6DS3.cpp file and including Arduino_LSM6DS3.h will not be enough. A simple fix and also a good practice would be to move these defines in the to the LSM6DS3.h.In addition in order to enable inheritance private methods are now declared as protected