mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Max file name length is actually 253 + null term
More than that and fatfs will truncate like name~1 Also dir_read already accounts for null term in buf size, dont malloc +1
This commit is contained in:
@@ -8,7 +8,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define UPDATE_OPERATION_ROOT_DIR_PACKAGE_MAGIC 0
|
||||
#define UPDATE_OPERATION_MAX_MANIFEST_PATH_LEN 255u
|
||||
#define UPDATE_OPERATION_MAX_MANIFEST_PATH_LEN 254u
|
||||
#define UPDATE_OPERATION_MIN_MANIFEST_VERSION 2
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user