And why tf are these buffers arbitrarily smaller??

This commit is contained in:
Willy-JL
2023-06-12 23:43:11 +01:00
parent cb1d05d761
commit 2ea3c837a2
5 changed files with 5 additions and 12 deletions
@@ -1,8 +1,6 @@
#include "../avr_isp_app_i.h"
#include <gui/modules/validators.h>
#define MAX_TEXT_INPUT_LEN 22
void avr_isp_scene_input_name_text_callback(void* context) {
furi_assert(context);
@@ -46,7 +44,7 @@ void avr_isp_scene_input_name_on_enter(void* context) {
avr_isp_scene_input_name_text_callback,
app,
app->file_name_tmp,
MAX_TEXT_INPUT_LEN, // buffer size
AVR_ISP_MAX_LEN_NAME, // buffer size
dev_name_empty);
ValidatorIsFile* validator_is_file =