Revert abs -> ABS change from commit 0dab6926b3
.
The avr-ravenlcd cannot include sys/cc.h since this in turns includes contiki-conf.h which the avr-ravenlcd does not have.
This commit is contained in:
parent
7b5c57c892
commit
018be89b11
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue