mirror of
1
0
Fork 0

Tabs to spaces.

This commit is contained in:
Mika Tuupola 2011-09-16 22:50:37 +03:00
parent ebaf86a86c
commit 7950677939
1 changed files with 21 additions and 17 deletions

View File

@ -52,6 +52,10 @@ static int uart_getchar(FILE *stream) {
return UDR0;
}
static int digital_read(sfr, bit) {
return bit_is_set(sft, bit) && 1;
}
void init(void) {
/* Make PORTD3..7 PORTD0..1 (Arduino digital 3..9) input by clearing bits in DDR */