Explorar o código

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

Keir Fraser %!s(int64=4) %!d(string=hai) anos
pai
achega
4658f9846d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;