We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0cf0e commit 7c5e5eeCopy full SHA for 7c5e5ee
1 file changed
main.cpp
@@ -250,8 +250,8 @@ int DoReboot(HPMPluginInstance &inst, int no)
250
{
251
printf("Rebooting target into normal mode... ");
252
253
- std::vector<uint32_t> serial{0x5ac8012, 0x105, 0x80000000};
254
- DoVDM(inst, no, serial);
+ std::vector<uint32_t> reboot{0x5ac8012, 0x105, 0x80000000};
+ DoVDM(inst, no, reboot);
255
256
printf("OK\n");
257
return 0;
@@ -290,8 +290,8 @@ int DoDFU(HPMPluginInstance &inst, int no)
290
291
printf("Rebooting target into DFU mode... ");
292
293
- std::vector<uint32_t> serial{0x5ac8012, 0x106, 0x80010000};
294
+ std::vector<uint32_t> dfu{0x5ac8012, 0x106, 0x80010000};
+ DoVDM(inst, no, dfu);
295
296
297
0 commit comments