diff options
| author | Alex Evans <715855+mmalex@users.noreply.github.com> | 2024-11-06 14:21:16 +0000 |
|---|---|---|
| committer | Alex Evans <715855+mmalex@users.noreply.github.com> | 2024-11-06 14:21:16 +0000 |
| commit | 2ecdaa538fc7a9b9613b01357fbd2cdb293735a8 (patch) | |
| tree | 839cb5dc74c66273439472db988e338eadfe1f44 /sw/Core/Src/main.c | |
| parent | 5fffef41b9d02f38d0a571be1d53c6c8581d306e (diff) | |
| download | plinky-2ecdaa538fc7a9b9613b01357fbd2cdb293735a8.tar.gz | |
fix the plinky bootloader to work on mac
Diffstat (limited to 'sw/Core/Src/main.c')
| -rwxr-xr-x | sw/Core/Src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/Core/Src/main.c b/sw/Core/Src/main.c index c225277..d070d81 100755 --- a/sw/Core/Src/main.c +++ b/sw/Core/Src/main.c @@ -200,7 +200,7 @@ void check_bootloader_flash(void) { DebugLog("bootloader left %d ones for us magic is %08x\r\n", count, magic); if (count!=64/4 || magic!=0xa738ea75) return; - + rb32[64]++; // clear the magic const uint32_t *app_base = (const uint32_t *)DELAY_BUF; DebugLog("bootloader app base is %08x %08x\r\n", app_base[0], app_base[1]); |
