mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
Makefile
This commit is contained in:
parent
d5d3e76642
commit
6beefb34c9
3 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -430,7 +430,7 @@ else ifneq (,$(HAS_CRCMOD))
|
||||||
$(info !!!!!!!! run: pip install crcmod)
|
$(info !!!!!!!! run: pip install crcmod)
|
||||||
$(info )
|
$(info )
|
||||||
else
|
else
|
||||||
-$(MY_PYTHON) fw-pack.py $<.bin $(AUTHOR_STRING) $(VERSION_STRING) $<.packed.bin
|
-$(MY_PYTHON) fw-pack.py $<.bin $(AUTHOR_STRING) $<.packed.bin
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(SIZE) $<
|
$(SIZE) $<
|
||||||
|
|
|
@ -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)
|
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);
|
BK4819_send_MDC1200(1, 0x80, gEeprom.MDC1200_ID, true);
|
||||||
|
|
||||||
|
|
|
@ -36,5 +36,5 @@ crc.update(packed)
|
||||||
digest = crc.digest()
|
digest = crc.digest()
|
||||||
digest = bytes([digest[1], digest[0]])
|
digest = bytes([digest[1], digest[0]])
|
||||||
|
|
||||||
open(sys.argv[4], 'wb').write(packed + digest)
|
open(sys.argv[3], 'wb').write(packed + digest)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue