Skip to content

Commit

Permalink
Added hardware SPI support for atmega128 target.
Browse files Browse the repository at this point in the history
  • Loading branch information
getoffmyhack committed May 31, 2016
1 parent e1db9e9 commit 807fbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/u8g_com_atmega_hw_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ uint8_t u8g_com_atmega_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void
else
{
#if defined (__AVR_ATmega128__)
PORTB &= ~_BV(1);
PORTB &= ~_BV(1); /* SCK = 0 */
#else
PORTB &= ~_BV(5); /* SCK = 0 */
#endif
Expand Down

0 comments on commit 807fbd0

Please sign in to comment.