Skip to content

Commit 3b73f7f

Browse files
Cleanup
1 parent 276b89e commit 3b73f7f

18 files changed

+19
-23
lines changed

src/esp32_audio_kit_module.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ void ac101_setup()
186186
ac.SetVolumeHeadphone(99);
187187

188188
ac.SetLineSource();
189+
189190
}
190191
#endif /* #ifdef AC101_ENABLED */
191192

src/fs/fs_esp32.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ void WavToKeyboard(fs_id_t id, const char *dirname, void(*fileInd)(const char *f
162162
Serial.printf("Dir Found: %s (ignoreD)\n", file.name());
163163
if (max_depth != 0)
164164
{
165-
// PatchManager_GetFileList(fs, file.name(), fileInd, depth + 1, max_depth - 1);
166165
}
167166
}
168167
else
@@ -330,7 +329,7 @@ void FS_Setup(void)
330329

331330
if (!LittleFS.begin(FORMAT_LITTLEFS_IF_FAILED))
332331
{
333-
Serial.printf("Error: LittleFS Mount Failed\n");
332+
Serial.printf("LittleFS Mount Failed");
334333
return ;
335334
}
336335

src/fs/fs_esp8266.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858

5959
#include <LittleFS.h>
6060

61-
6261
/*
6362
* extern function definitions
6463
*/
@@ -106,12 +105,12 @@ bool getFileFromIdx(uint32_t idx, char *filename, char *filter)
106105
return result;
107106
}
108107

109-
void FS_Setup(void)
108+
void FS_Setup()
110109
{
111110

112111
if (!LittleFS.begin())
113112
{
114-
Serial.printf("Error: LittleFS Mount Failed\n");
113+
Serial.printf("LittleFS Mount Failed");
115114
return ;
116115
}
117116

src/fs/fs_rp2040.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void FS_Setup(void)
199199
{
200200
if (!LittleFS.begin())
201201
{
202-
Serial.printf("Error: LittleFS Mount Failed\n");
202+
Serial.printf("LittleFS Mount Failed");
203203
return ;
204204
}
205205

src/midi_stream_player.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ void MidiStreamPlayer_PlayMidiFile_fromLittleFS(char *filename, uint8_t trackToP
8484
static uint64_t tickCnt = 0;
8585
bool midiAutoLoop = false;
8686

87-
8887
static uint8_t MIDI_open(const char *path, const char *mode);
8988
static int MIDI_read(void *buf, uint8_t unused, size_t size, struct file_access_f *ff);
9089
static int MIDI_write(void *buf, uint8_t unused, size_t size, struct file_access_f *ff);
@@ -159,7 +158,6 @@ char MIDI_seek(struct file_access_f *ff, int pos, uint8_t mode)
159158
else
160159
{
161160
/* not supported at the moment, but seems working without the implementation */
162-
// file->seek(pos, SeekCur);
163161
ff->file += pos;
164162
}
165163
return 0;
@@ -396,7 +394,6 @@ void MidiStreamPlayer_Tick(uint32_t ticks)
396394
}
397395
}
398396

399-
400397
#endif /* ML_SYNTH_INLINE_DEFINITION */
401398

402399
#endif /* MIDI_STREAM_PLAYER_ENABLED */

src/midi_via_usb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Marcel Licence
2+
* Copyright (c) 2024 Marcel Licence
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

src/ml_arp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Marcel Licence
2+
* Copyright (c) 2024 Marcel Licence
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

src/ml_chorus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Marcel Licence
2+
* Copyright (c) 2024 Marcel Licence
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

src/ml_env.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Marcel Licence
2+
* Copyright (c) 2024 Marcel Licence
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -86,5 +86,6 @@ bool ASRM_Process(const struct adsrT *ctrl, struct adsr_ctrl_t *asr);
8686
void ASRM_Start(const struct adsrT *ctrl, struct adsr_ctrl_t *asr);
8787

8888

89+
8990
#endif /* ML_ENV_H_ */
9091

src/ml_filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Marcel Licence
2+
* Copyright (c) 2024 Marcel Licence
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)