Skip to content

Commit dfd851c

Browse files
fixed style issues, and Makefile build to always include FatFS FileReader
1 parent 49e4eb1 commit dfd851c

5 files changed

Lines changed: 3 additions & 7 deletions

File tree

core/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,12 @@ FATFS_SOURCES += \
169169

170170
ifeq ($(USE_FATFS),1)
171171
C_SOURCES += $(FATFS_SOURCES)
172-
# File I/O Abstract Interface for FatFS:
173-
C_DEFS += -DFILEIO_ENABLE_FATFS_READER
174172
endif
175173
C_INCLUDES += -I$(FATFS_DIR)
176174

175+
# File I/O Abstract Interface for FatFS:
176+
C_DEFS += -DFILEIO_ENABLE_FATFS_READER
177+
177178
# compile gcc flags
178179
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
179180

src/util/FileReader.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace daisy
1111
{
12-
1312
// Abstract reader interface (minimal). Provide concrete implementation for
1413
// platform.
1514
class IReader

src/util/FileTable.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
namespace daisy
99
{
10-
11-
1210
/** Utility class for creating an index of file names
1311
* and lengths from a given directory.
1412
*

src/util/WavParser.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
namespace daisy
3232
{
33-
3433
struct WavFormatInfo
3534
{
3635
uint16_t audioFormat = 0; // 1 = PCM, 3 = IEEE float, 0xFFFE = extensible

src/util/WavPlayer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace daisy
99
{
10-
1110
/**
1211
* WAV file Streaming Playback
1312
*

0 commit comments

Comments
 (0)