From 859dcadbac16852bc0bdf58ee4f41b4f4fc2504d Mon Sep 17 00:00:00 2001 From: optixx Date: Wed, 23 Sep 2009 21:45:29 +0200 Subject: [PATCH] fix shared mem return --- avr/usbload/shared_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/usbload/shared_memory.c b/avr/usbload/shared_memory.c index b531ea7..84c4868 100644 --- a/avr/usbload/shared_memory.c +++ b/avr/usbload/shared_memory.c @@ -233,7 +233,7 @@ void shared_memory_write(uint8_t cmd, uint8_t value) #if DO_SHM_SCRATCHPAD if (scratchpad_locked_tx){ debug_P(DEBUG_SHM, PSTR("shared_memory_write: locked_tx\n")); - return 1; + return; } #endif debug_P(DEBUG_SHM, PSTR("shared_memory_write: 0x%04x=0x%02x 0x%04x=0x%02x \n"),