From 90bed81e8fbad9062791136ebd5c4d965af4dd8b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 1 Jul 2017 10:59:50 +0200 Subject: [PATCH] Another C89 buildfix --- src/boards/fk23c.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/boards/fk23c.c b/src/boards/fk23c.c index f065ec5..9ba84a3 100644 --- a/src/boards/fk23c.c +++ b/src/boards/fk23c.c @@ -179,9 +179,8 @@ static DECLFW(BMCFK23CHiWrite) { static DECLFW(BMCFK23CWrite) { if (A & (1 << (dipswitch + 4))) { - EXPREGS[A & 3] = V; - int remap = 0; + EXPREGS[A & 3] = V; //sometimes writing to reg0 causes remappings to occur. we think the 2 signifies this. //if not, 0x24 is a value that is known to work