We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e2b92 commit 8cc83bcCopy full SHA for 8cc83bc
libraries/Storage/examples/QSPIFormat/QSPIFormat.ino
@@ -174,18 +174,18 @@ void flashCertificates() {
174
FILE* fp = fopen("/wlan/cacert.pem", "wb");
175
176
Serial.println("Flashing certificates");
177
- uint32_t chunck_size = 128;
+ uint32_t chunk_size = 128;
178
uint32_t byte_count = 0;
179
printProgress(byte_count, cacert_pem_len, 10, true);
180
while (byte_count < cacert_pem_len) {
181
- if(byte_count + chunck_size > cacert_pem_len)
182
- chunck_size = cacert_pem_len - byte_count;
183
- int ret = fwrite(&cacert_pem[byte_count], chunck_size, 1 ,fp);
+ if(byte_count + chunk_size > cacert_pem_len)
+ chunk_size = cacert_pem_len - byte_count;
+ int ret = fwrite(&cacert_pem[byte_count], chunk_size, 1 ,fp);
184
if (ret != 1) {
185
Serial.println("Error writing certificates");
186
break;
187
}
188
- byte_count += chunck_size;
+ byte_count += chunk_size;
189
printProgress(byte_count, cacert_pem_len, 10, false);
190
191
fclose(fp);
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments