dediprog: Drop enum of i/o bits
These bit positions differ between device revisions and models. Also the
default meaning (and mapping of adapters) show different intentions per
model. For instance, SF600 adapters expose IO2 as IO4 of an SF100.
Change-Id: I38c587214fa0167bf971ead5e3f490da2cedaf24
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/353
diff --git a/dediprog.c b/dediprog.c
index d77cbfb..af9e449 100644
--- a/dediprog.c
+++ b/dediprog.c
@@ -63,14 +63,6 @@
LED_ALL = 7,
};
-/* IO bits for CMD_SET_IO_LED message */
-enum dediprog_ios {
- IO1 = 1 << 0,
- IO2 = 1 << 1,
- IO3 = 1 << 2,
- IO4 = 1 << 3,
-};
-
enum dediprog_cmds {
CMD_TRANSCEIVE = 0x01,
CMD_POLL_STATUS_REG = 0x02,