summaryrefslogtreecommitdiffstats
path: root/dediprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'dediprog.c')
-rw-r--r--dediprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dediprog.c b/dediprog.c
index ac7d4624c..4f48f473a 100644
--- a/dediprog.c
+++ b/dediprog.c
@@ -1271,7 +1271,7 @@ int dediprog_init(void)
(dediprog_devicetype == DEV_SF600 && protocol() == PROTOCOL_V3))
spi_master_dediprog.features &= ~SPI_MASTER_NO_4BA_MODES;
- if (protocol() == PROTOCOL_V2)
+ if (protocol() >= PROTOCOL_V2)
spi_master_dediprog.features |= SPI_MASTER_4BA;
if (register_spi_master(&spi_master_dediprog) || dediprog_set_leds(LED_NONE))