Closed milador closed 2 years ago
@mmoskal I made the changes and did the Clang formatting ( had to remove SortIncludes: false
as it says undefined key ). I have 4 unused functions which I left for future usage in case someone wants to use the sensor in different configuration. Should I remove them or leave?
Everything else is good.
good to leave the functions, as long as they don't give warnings (you can make them non-static, use some magical attribute, or put them in #if 0
)
@mmoskal I removed static and used __attribute__((unused))
. Clang formatting is now not happy with the attribute usage, but the warnings are all gone now.
Maybe try attribute before void?
@mmoskal Done!
Thank you very much!
Added the driver for LPS33HW & LPS35HW Pressure Sensors from STMicroelectronics. The jd_sensor_api is also updated to include pressure and temperature reading APIs for the Pressure Sensors.