arduino-sps icon indicating copy to clipboard operation
arduino-sps copied to clipboard

Use of define for NO_ERROR conflict with other librairies

Open ge-lem opened this issue 3 years ago • 1 comments

Hi,

The use of MACRO for NO_ERROR conflict with other librarie wich define it as enum. Exemple https://github.com/Seeed-Studio/Seeed_PM2_5_sensor_HM3301

ge-lem avatar Jun 22 '21 08:06 ge-lem

Thanks for the report. We should probably add a prefix to it like SENSIRION_NO_ERROR to avoid name collisions.

rnestler avatar Jun 22 '21 13:06 rnestler