Skip to content

Commit

Permalink
πŸ› Add 'static' to fix 'duplicates' (MarlinFirmware#22826)
Browse files Browse the repository at this point in the history
  • Loading branch information
swills authored and mh-dm committed May 15, 2022
1 parent 5769dcc commit 68b9a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/HAL/AVR/u8g_com_HAL_AVR_sw_spi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@

#include <U8glib-HAL.h>

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

static void u8g_com_arduino_init_shift_out(uint8_t dataPin, uint8_t clockPin) {
u8g_outData = portOutputRegister(digitalPinToPort(dataPin));
Expand Down

0 comments on commit 68b9a28

Please sign in to comment.