1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00

Updated docs

This commit is contained in:
bzt 2020-12-17 13:06:32 +01:00
parent 78bbfac5f8
commit acccde473a

View file

@ -840,7 +840,7 @@ int main(void)
serial_putchar(3); serial_putchar(3); serial_putchar(3);
mdelay(10);
if(serial_havechar()) {
// we got response from raspbootcom
// we got response from raspbootcom or USBImager
sp=serial_getchar(); sp|=serial_getchar()<<8; sp|=serial_getchar()<<16; sp|=serial_getchar()<<24;
if(sp>0 && sp<INITRD_MAXSIZE*1024*1024) {
serial_putchar('O'); serial_putchar('K');