Skip to content

Commit 9aa1426

Browse files
committed
MEGA65: ethertap build error fix if no debug #242
1 parent e7fa61a commit 9aa1426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/mega65/ethernet65.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ static struct {
9393
} com;
9494
#ifndef ETH65_NO_DEBUG
9595
static bool eth_debug = false;
96-
static bool force_filters = false;
9796
#endif
9897
static const Uint8 default_mac[6] = {0x02,0x47,0x53,0x65,0x65,0x65}; // 00:80:10:... would be nicer, though a bit of cheating, it belongs to Commodore International(TM).
9998
#ifdef HAVE_ETHERTAP
10099
static const Uint8 mac_bcast[6] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}; // also used as IPv4 bcast detection with filters, if only the first 4 bytes are checked
100+
static bool force_filters = false;
101101
#endif
102102
#define miim_reg_num (eth_regs[6] & 0x1F)
103103
static Uint8 miimlo8[0x20], miimhi8[0x20]; // not emulated too much ... all I have, that you can read/write all MIIM registers freely, and that's all

0 commit comments

Comments
 (0)