Skip to content

Commit

Permalink
πŸ› Add 'static' to fix 'duplicates' (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
swills authored Sep 25, 2021
1 parent 8c65f80 commit e5e2221
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/clib/u8g_com_arduino_sw_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@

#ifdef __AVR__

uint8_t u8g_bitData, u8g_bitNotData;
uint8_t u8g_bitClock, u8g_bitNotClock;
volatile uint8_t *u8g_outData;
volatile uint8_t *u8g_outClock;
static uint8_t u8g_bitData, u8g_bitNotData;
static uint8_t u8g_bitClock, u8g_bitNotClock;
static volatile uint8_t *u8g_outData;
static volatile uint8_t *u8g_outClock;

static void u8g_com_arduino_init_shift_out(uint8_t dataPin, uint8_t clockPin)
{
Expand Down

0 comments on commit e5e2221

Please sign in to comment.