From 3a2d350c8896a796d865a0aae747c4c71bc4562a Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 25 Jun 2018 15:17:53 +0700 Subject: [PATCH] clean up --- src/usb/tusb_config.h | 2 +- src/usb/uf2/uf2cfg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usb/tusb_config.h b/src/usb/tusb_config.h index 88a4a97..a84cefb 100644 --- a/src/usb/tusb_config.h +++ b/src/usb/tusb_config.h @@ -85,7 +85,7 @@ */ #define CFG_TUD_CDC_FLUSH_ON_SOF 0 -// Number of supported Logical Unit Number +// Number of supported Logical Unit Number (At least 1) #define CFG_TUD_MSC_MAXLUN 1 // Buffer size of Device Mass storage diff --git a/src/usb/uf2/uf2cfg.h b/src/usb/uf2/uf2cfg.h index 6dce4de..815efe2 100644 --- a/src/usb/uf2/uf2cfg.h +++ b/src/usb/uf2/uf2cfg.h @@ -6,7 +6,7 @@ #define UF2_NUM_BLOCKS 8000 // at least 4,1 MB for FAT16 #define VOLUME_LABEL "NRF52BOOT " -#define FLASH_SIZE (USER_FLASH_END-USER_FLASH_START) +#define FLASH_SIZE (USER_FLASH_END-USER_FLASH_START) // Max flash size // Only allow to write application #define USER_FLASH_START 0x26000