mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
fstyp: Correct comment: Raspberry Pi Pico, not Nano
Fixes: 868c1b8431 ("fstyp: detect Raspberry Pi Pico boot...")
This commit is contained in:
parent
2d5df84081
commit
27c2f016b8
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ check_signature(uint8_t sector0[512])
|
|||
/* Check for the FAT boot sector signature. */
|
||||
if (sector0[510] == 0x55 && sector0[511] == 0xaa)
|
||||
return (true);
|
||||
/* Special case for Raspberry Pi Nano bootloader. */
|
||||
/* Special case for Raspberry Pi Pico bootloader. */
|
||||
if (sector0[510] == 0 && sector0[511] == 0 &&
|
||||
sector0[0] == 0xeb && sector0[1] == 0x3c && sector0[2] == 0x90)
|
||||
return (true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue