From d1057339430e371ff8449bc314dd336ff563e97f Mon Sep 17 00:00:00 2001 From: csboling Date: Mon, 22 Nov 2021 07:05:34 -0700 Subject: [PATCH] usb presets: fix reading of split numbers (#101) --- libavr32 | 2 +- src/ansible_usb_disk.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavr32 b/libavr32 index 98d6b60..152af9f 160000 --- a/libavr32 +++ b/libavr32 @@ -1 +1 @@ -Subproject commit 98d6b6002e0708b6524ace3c692451c2c4bf349d +Subproject commit 152af9fbbecf88f52cc92cb7ff74fd399cff96e3 diff --git a/src/ansible_usb_disk.h b/src/ansible_usb_disk.h index ffae346..2254804 100644 --- a/src/ansible_usb_disk.h +++ b/src/ansible_usb_disk.h @@ -7,7 +7,7 @@ #define ANSIBLE_BACKUP_FILE ((FS_STRING)"ansible-backup.bin") #define ANSIBLE_PRESET_FILE ((FS_STRING)"ansible-preset.json") #define ANSIBLE_USBDISK_TXTBUF_LEN 64 -#define ANSIBLE_USBDISK_TOKBUF_LEN 8 +#define ANSIBLE_USBDISK_TOKBUF_LEN 12 #define ANSIBLE_USBDISK_BLOCKSIZE 1024 #define ANSIBLE_FLASH_BLOCKSIZE (1 << 14)