From 79c67429a08c92afa862f67be6a85fe2e1d822e2 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 20 Sep 2021 14:50:23 +0200 Subject: [PATCH] tests/driver_lm75: don't abort if alarm pin is not connected --- tests/driver_lm75/Makefile | 0 tests/driver_lm75/main.c | 1 - 2 files changed, 1 deletion(-) mode change 100755 => 100644 tests/driver_lm75/Makefile mode change 100755 => 100644 tests/driver_lm75/main.c diff --git a/tests/driver_lm75/Makefile b/tests/driver_lm75/Makefile old mode 100755 new mode 100644 diff --git a/tests/driver_lm75/main.c b/tests/driver_lm75/main.c old mode 100755 new mode 100644 index c7ab466cd0..76c5ecb282 --- a/tests/driver_lm75/main.c +++ b/tests/driver_lm75/main.c @@ -121,7 +121,6 @@ int main(void) { /* Set the hysteresis and overtemperature shutdown */ if (lm75_set_temp_limits(dev, 24500, 29000, cb, NULL) != LM75_SUCCESS) { puts("error setting Hyst and/or OS temps"); - return -1; } lm75_check_set_temperature_limits(dev);