Skip to content

Commit 7c5e5ee

Browse files
committed
Fix some variable names
Signed-off-by: Hector Martin <[email protected]>
1 parent 8b0cf0e commit 7c5e5ee

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ int DoReboot(HPMPluginInstance &inst, int no)
250250
{
251251
printf("Rebooting target into normal mode... ");
252252

253-
std::vector<uint32_t> serial{0x5ac8012, 0x105, 0x80000000};
254-
DoVDM(inst, no, serial);
253+
std::vector<uint32_t> reboot{0x5ac8012, 0x105, 0x80000000};
254+
DoVDM(inst, no, reboot);
255255

256256
printf("OK\n");
257257
return 0;
@@ -290,8 +290,8 @@ int DoDFU(HPMPluginInstance &inst, int no)
290290
{
291291
printf("Rebooting target into DFU mode... ");
292292

293-
std::vector<uint32_t> serial{0x5ac8012, 0x106, 0x80010000};
294-
DoVDM(inst, no, serial);
293+
std::vector<uint32_t> dfu{0x5ac8012, 0x106, 0x80010000};
294+
DoVDM(inst, no, dfu);
295295

296296
printf("OK\n");
297297
return 0;

0 commit comments

Comments
 (0)