mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/driver_lm75: don't abort if alarm pin is not connected
This commit is contained in:
parent
fc457459bf
commit
79c67429a0
0
tests/driver_lm75/Makefile
Executable file → Normal file
0
tests/driver_lm75/Makefile
Executable file → Normal file
1
tests/driver_lm75/main.c
Executable file → Normal file
1
tests/driver_lm75/main.c
Executable file → Normal file
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user