File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,14 @@ int main()
235
235
236
236
if (cmd .action == ACTION_COPY_RAW ) {
237
237
uint32_t cp = S ('c' , 'p' , ':' , 0 );
238
- ets_printf ((const char * )cp );
238
+ ets_printf ((const char * )& cp );
239
239
240
240
ets_wdt_disable ();
241
241
res = copy_raw (cmd .args [0 ], cmd .args [1 ], cmd .args [2 ], false);
242
242
ets_wdt_enable ();
243
243
244
244
cp = S ('0' + res , '\n' , 0 , 0 );
245
- ets_printf ((const char * )cp );
245
+ ets_printf ((const char * )& cp );
246
246
#if 0
247
247
//devyte: this verify step below (cmp:) only works when the end of copy operation above does not overwrite the
248
248
//beginning of the image in the empty area, see #7458. Disabling for now.
@@ -259,7 +259,7 @@ int main()
259
259
}
260
260
261
261
cp = S ('0' + res , '\n' , 0 , 0 );
262
- ets_printf ((const char * )cp );
262
+ ets_printf ((const char * )& cp );
263
263
#endif
264
264
if (res == 0 ) {
265
265
cmd .action = ACTION_LOAD_APP ;
You can’t perform that action at this time.
0 commit comments