fix shared mem return

This commit is contained in:
optixx 2009-09-23 21:45:29 +02:00
parent c897497e24
commit 859dcadbac

View File

@ -233,7 +233,7 @@ void shared_memory_write(uint8_t cmd, uint8_t value)
#if DO_SHM_SCRATCHPAD #if DO_SHM_SCRATCHPAD
if (scratchpad_locked_tx){ if (scratchpad_locked_tx){
debug_P(DEBUG_SHM, PSTR("shared_memory_write: locked_tx\n")); debug_P(DEBUG_SHM, PSTR("shared_memory_write: locked_tx\n"));
return 1; return;
} }
#endif #endif
debug_P(DEBUG_SHM, PSTR("shared_memory_write: 0x%04x=0x%02x 0x%04x=0x%02x \n"), debug_P(DEBUG_SHM, PSTR("shared_memory_write: 0x%04x=0x%02x 0x%04x=0x%02x \n"),