Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Oct 23, 2020
1 parent 4402e8d commit cea3cda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootloaders/eboot/eboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,14 @@ int main()

if (cmd.action == ACTION_COPY_RAW) {
uint32_t cp = S('c', 'p', ':', 0);
ets_printf((const char *)cp);
ets_printf((const char *)&cp);

ets_wdt_disable();
res = copy_raw(cmd.args[0], cmd.args[1], cmd.args[2], false);
ets_wdt_enable();

cp = S('0' + res, '\n', 0, 0 );
ets_printf((const char *)cp);
ets_printf((const char *)&cp);
#if 0
//devyte: this verify step below (cmp:) only works when the end of copy operation above does not overwrite the
//beginning of the image in the empty area, see #7458. Disabling for now.
Expand All @@ -259,7 +259,7 @@ int main()
}

cp = S('0' + res, '\n', 0, 0 );
ets_printf((const char *)cp);
ets_printf((const char *)&cp);
#endif
if (res == 0) {
cmd.action = ACTION_LOAD_APP;
Expand Down

0 comments on commit cea3cda

Please sign in to comment.