Mercurial > pihelp
diff sd_raw_config.h @ 44:2a47c458d6ed
a bit of debugging tht didn't work
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 29 Jun 2013 23:46:35 +0800 |
parents | 9e888708f33d |
children |
line wrap: on
line diff
--- a/sd_raw_config.h Sat Jun 29 10:42:34 2013 +0800 +++ b/sd_raw_config.h Sat Jun 29 23:46:35 2013 +0800 @@ -85,9 +85,10 @@ #define configure_pin_ss() DDRB |= (1 << DDB2) #define configure_pin_miso() DDRB &= ~(1 << DDB4) - #define deonfigure_pin_mosi() DDRB &= ~(1 << DDB3) - #define deonfigure_pin_sck() DDRB &= ~(1 << DDB5) - #define deonfigure_pin_ss() DDRB &= ~(1 << DDB2) + #define deconfigure_pin_mosi() DDRB &= ~(1 << DDB3) + #define deconfigure_pin_sck() DDRB &= ~(1 << DDB5) + #define deconfigure_pin_ss() DDRB &= ~(1 << DDB2) + #define select_card() PORTB &= ~(1 << PORTB2) #define unselect_card() PORTB |= (1 << PORTB2)