Project

General

Profile

Bug #609 » diff.txt

Diff with fix - Luke Johnson, 09/09/2025 10:19 PM

 
??Index: dediprog.c
===================================================================
--- dediprog.c (.../dediprog.c) (working copy)
+++ dediprog.c (.../dediprogFIX.c) (working copy)
@@ -269,7 +269,7 @@
int target_leds, ret;
if (protocol(dp_data) >= PROTOCOL_V2) {
target_leds = (leds ^ 7) << 8;
- ret = dediprog_write(dp_data->handle, CMD_SET_IO_LED, target_leds, 0, NULL, 0);
+ ret = dediprog_write(dp_data->handle, CMD_SET_IO_LED, target_leds | IO1 | IO4, 0, NULL, 0);
} else {
if (dp_data->firmwareversion < FIRMWARE_VERSION(5, 0, 0)) {
target_leds = ((leds & LED_ERROR) >> 2) | ((leds & LED_PASS) << 2);
(2-2/2)