RJRP44 / VL53L8CX-Library

💽 A vl53l8cx library for esp32 using the esp-idf framework
Other
4 stars 2 forks source link

Add options to kconfig to be able to disable some results. #3

Closed pkepes closed 3 months ago

pkepes commented 3 months ago

Hi,

I made some changes in the Kconfig and the platform.h file. I added new toggles where one can disable the unnecessary result fields. In my project it took too long to read the results from the sensor, so I needed to disable these some of them. The disabling macros are defined in the platform.h file, but it's easier and more user friendly to put them in the menuconfig. In the platform.h I made the original macors to be defined only if the option is toggled in the menuconfig.

illusionfield commented 3 months ago

Hi,

This is extremely useful, hopefully @RJRP44 can look into it sometime. In the meantime, everyone enjoy the summer break :smiley:

FYI: ULD 2.0.0 was released on 05/21/2024, but no changes were made that affect the files modified here, so these changes are compatible with the new ULD.