Skip to content

Commit e164cd8

Browse files
committed
Ensure proper RAM Disk sizing in the HTTPS demo.
1 parent f073139 commit e164cd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/demo_netxduo_https.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ extern const NX_SECURE_TLS_CRYPTO nx_crypto_tls_ciphers;
372372
#define TOTAL_SECTORS 256
373373
#define SECTOR_SIZE 512
374374
static UCHAR media_memory[4096];
375-
static CHAR ram_disk_memory[4096];
375+
static CHAR ram_disk_memory[TOTAL_SECTORS*SECTOR_SIZE];
376376
static FX_MEDIA ram_disk;
377377

378378
/* HTTP server stack area. */

0 commit comments

Comments
 (0)