diff options
| author | Frédéric Desbiens <[email protected]> | 2025-07-28 13:50:13 -0400 |
|---|---|---|
| committer | Frédéric Desbiens <[email protected]> | 2025-07-28 13:50:13 -0400 |
| commit | e164cd8ddec052b536a458e39025fbe222084d15 (patch) | |
| tree | 19c43188e27a28efb4f9ba15fa7aed86adef310b | |
| parent | f0731397ed8113766789bb212e72f8c067fef0c8 (diff) | |
Ensure proper RAM Disk sizing in the HTTPS demo.
| -rw-r--r-- | samples/demo_netxduo_https.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/demo_netxduo_https.c b/samples/demo_netxduo_https.c index 258ceacf..27ad9784 100644 --- a/samples/demo_netxduo_https.c +++ b/samples/demo_netxduo_https.c @@ -372,7 +372,7 @@ extern const NX_SECURE_TLS_CRYPTO nx_crypto_tls_ciphers; #define TOTAL_SECTORS 256 #define SECTOR_SIZE 512 static UCHAR media_memory[4096]; -static CHAR ram_disk_memory[4096]; +static CHAR ram_disk_memory[TOTAL_SECTORS*SECTOR_SIZE]; static FX_MEDIA ram_disk; /* HTTP server stack area. */ |
