Bladeren bron

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

Keir Fraser 4 jaren geleden
bovenliggende
commit
4658f9846d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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;