1
0
mirror of synced 2024-11-21 16:54:25 +01:00

Tabs to spaces.

This commit is contained in:
Mika Tuupola 2011-09-16 22:50:37 +03:00
parent ebaf86a86c
commit 7950677939

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 */