Selaa lähdekoodia

F7 HS USB: Fix firmware update. Need a larger USB ring buffer.

Keir Fraser 4 vuotta sitten
vanhempi
commit
4658f9846d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/fw_update.c

+ 1 - 1
src/fw_update.c

@@ -32,7 +32,7 @@ static enum {
     ST_update,
 } state = ST_inactive;
 
-static uint8_t u_buf[256];
+static uint8_t u_buf[2048] aligned(4);
 static uint32_t u_prod;
 
 static bool_t upd_strapped;