Преглед изворни кода

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

Keir Fraser пре 5 година
родитељ
комит
4658f9846d
1 измењених фајлова са 1 додато и 1 уклоњено
  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;