Skip to content

Commit c5ac6ac

Browse files
committed
SDDirect simplify correction
1 parent 3573231 commit c5ac6ac

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/AudioTools/AudioLibs/SDDirect.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,7 @@ class SDDirect {
248248
}
249249
return result;
250250
#else
251-
# ifdef RP2040_HOWER
252251
return p_sd->open(name, "r");
253-
# else
254-
return p_sd->open(name);
255-
# endif
256252
#endif
257253
}
258254
};

src/AudioTools/AudioLibs/SDIndex.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,7 @@ class SDIndex {
310310
}
311311
return result;
312312
#else
313-
# ifdef RP2040_HOWER
314313
return p_sd->open(name, "r");
315-
# else
316-
return p_sd->open(name);
317-
# endif
318314
#endif
319315
}
320316
};

0 commit comments

Comments
 (0)