File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,11 @@ class W5100Class {
327327 inline static void initSS () { DDRB |= _BV (4 ); };
328328 inline static void setSS () { PORTB &= ~_BV (4 ); };
329329 inline static void resetSS () { PORTB |= _BV (4 ); };
330- #elif defined(__AVR_ATmega32U4__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB162__)
330+ #elif defined(__AVR_ATmega32U4__)
331+ inline static void initSS () { DDRB |= _BV (6 ); };
332+ inline static void setSS () { PORTB &= ~_BV (6 ); };
333+ inline static void resetSS () { PORTB |= _BV (6 ); };
334+ #elif defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB162__)
331335 inline static void initSS () { DDRB |= _BV (0 ); };
332336 inline static void setSS () { PORTB &= ~_BV (0 ); };
333337 inline static void resetSS () { PORTB |= _BV (0 ); };
You can’t perform that action at this time.
0 commit comments