瀏覽代碼

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

Keir Fraser 4 年之前
父節點
當前提交
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;