drivers/lm75a: removed LED_xx_yy calls

This commit is contained in:
Hauke Petersen 2016-03-15 16:24:06 +01:00
parent 4dd57aafb7
commit 53b42424ff

View File

@ -299,17 +299,13 @@ void lm75A_start_sensor_sampling(void (*handler)(void))
* Normal main() thread activity. * Normal main() thread activity.
*/ */
while (true) { while (true) {
//Toggle the green LED;
LED_RED_TOGGLE;
printf("amb_temp = %3.3f\n", lm75A_get_ambient_temperature()); printf("amb_temp = %3.3f\n", lm75A_get_ambient_temperature());
if (my_alarm && (handler != NULL)) { if (my_alarm && (handler != NULL)) {
LED_GREEN_ON;
handler(); handler();
my_alarm = false; my_alarm = false;
} }
xtimer_usleep(100000); xtimer_usleep(100000);
LED_RED_TOGGLE;
xtimer_usleep(100000); xtimer_usleep(100000);
} }
} }