mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Don't disable flash DIO operation before flashing - it works fine with DIO
This commit is contained in:
1 parent
5a8a8ed91b
commit
4ca5b4e87a
3 files changed
-5
No files matched your search
@@ -1884,7 +1884,6 @@ void check_and_flash_update_image(void)
|
||||
__xdata uint16_t j = 0;
|
||||
__xdata uint8_t * __xdata bptr;
|
||||
print_string("found update image!\nChecking integrity");
|
||||
flash_init(0); // Re-initialize flash for non-DIO operation, otherwise flashing will fail
|
||||
set_sys_led_state(SYS_LED_FAST);
|
||||
crc_value = 0x0000;
|
||||
for (i = 0; i < 1024; i++) {
|
||||
|
||||
Reference in new issue
Block a user