From 018be89b1109c7da3288d702f4392d887611534c Mon Sep 17 00:00:00 2001 From: Cristiano De Alti Date: Sun, 20 Sep 2015 23:56:53 +0200 Subject: [PATCH] Revert abs -> ABS change from commit 0dab6926b30647e4c3bb1b56f39ccef761733ef5. The avr-ravenlcd cannot include sys/cc.h since this in turns includes contiki-conf.h which the avr-ravenlcd does not have. --- platform/avr-ravenlcd/lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/avr-ravenlcd/lcd.c b/platform/avr-ravenlcd/lcd.c index 3c4f9e230..0fe92b80a 100644 --- a/platform/avr-ravenlcd/lcd.c +++ b/platform/avr-ravenlcd/lcd.c @@ -411,7 +411,7 @@ lcd_num_putdec(int numb, lcd_padding_t padding) } /* Convert to BCD */ - bcd = itobcd(ABS(numb)); + bcd = itobcd(abs(numb)); /* Print */ return lcd_num_print(bcd, (bool)(numb<0), padding);