Changed OPEN_DRAIN variable to OPEN_DRAIN_LIS331 to make it compatible with ESP32-core in arduino IDE This has been proposed before by someone else