Skip to content

Commit 1722c80

Browse files
Merge pull request #643 from keithbowes/fix-linker
Fixed the "multiple definitions of submapper" linker error
2 parents 1406304 + c1abf68 commit 1722c80

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/boards/341.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "mapinc.h"
2222
#include "asic_latch.h"
2323

24-
uint8 submapper;
24+
static uint8 submapper;
2525

2626
static void sync () {
2727
setprg32(0x8000, Latch_address >>8);

src/boards/449.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "mapinc.h"
2222
#include "asic_latch.h"
2323

24-
uint8 submapper;
24+
static uint8 submapper;
2525
uint8 pad;
2626
uint8 padSelect;
2727

0 commit comments

Comments
 (0)