summaryrefslogtreecommitdiff
path: root/firmware/usbstack
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usbstack')
-rw-r--r--firmware/usbstack/usb_storage.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index 59ec191b4b..70587dfed4 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -27,7 +27,7 @@
27#include "logf.h" 27#include "logf.h"
28#include "storage.h" 28#include "storage.h"
29#include "disk.h" 29#include "disk.h"
30#include "fat.h" 30#include "fs_defines.h"
31/* Needed to get at the audio buffer */ 31/* Needed to get at the audio buffer */
32#include "audio.h" 32#include "audio.h"
33#include "usb_storage.h" 33#include "usb_storage.h"
@@ -41,10 +41,6 @@
41#define RAMDISK_SIZE 2048 41#define RAMDISK_SIZE 2048
42#endif 42#endif
43 43
44#ifndef SECTOR_SIZE
45#define SECTOR_SIZE 512
46#endif
47
48/* These defaults allow the operation */ 44/* These defaults allow the operation */
49#ifndef USBSTOR_READ_SECTORS_FILTER 45#ifndef USBSTOR_READ_SECTORS_FILTER
50#define USBSTOR_READ_SECTORS_FILTER() ({ 0; }) 46#define USBSTOR_READ_SECTORS_FILTER() ({ 0; })