diff --git a/Makefile b/Makefile index c77ba40..5e348d1 100644 --- a/Makefile +++ b/Makefile @@ -430,7 +430,7 @@ else ifneq (,$(HAS_CRCMOD)) $(info !!!!!!!! run: pip install crcmod) $(info ) else - -$(MY_PYTHON) fw-pack.py $<.bin $(AUTHOR_STRING) $(VERSION_STRING) $<.packed.bin + -$(MY_PYTHON) fw-pack.py $<.bin $(AUTHOR_STRING) $<.packed.bin endif $(SIZE) $< diff --git a/functions.c b/functions.c index 5bb18a2..7eb7a57 100644 --- a/functions.c +++ b/functions.c @@ -219,7 +219,7 @@ void FUNCTION_Select(FUNCTION_Type_t Function) if(gEeprom.ROGER == ROGER_MODE_MDC_HEAD||gEeprom.ROGER==ROGER_MODE_MDC_BOTH||gEeprom.ROGER==ROGER_MODE_MDC_HEAD_ROGER) { - SYSTEM_DelayMs(30); + // SYSTEM_DelayMs(30); BK4819_send_MDC1200(1, 0x80, gEeprom.MDC1200_ID, true); diff --git a/fw-pack.py b/fw-pack.py index 16ac1dc..7ff5dc5 100644 --- a/fw-pack.py +++ b/fw-pack.py @@ -36,5 +36,5 @@ crc.update(packed) digest = crc.digest() digest = bytes([digest[1], digest[0]]) -open(sys.argv[4], 'wb').write(packed + digest) +open(sys.argv[3], 'wb').write(packed + digest)