Reduce math library code size by 3.4KB (#21575)
This commit is contained in:
@ -565,7 +565,7 @@ void announceOpen(const uint8_t doing, const char * const path) {
|
||||
// - 1 : (no file open) Opening a macro (M98).
|
||||
// - 2 : Resuming from a sub-procedure
|
||||
//
|
||||
void CardReader::openFileRead(char * const path, const uint8_t subcall_type/*=0*/) {
|
||||
void CardReader::openFileRead(const char * const path, const uint8_t subcall_type/*=0*/) {
|
||||
if (!isMounted()) return;
|
||||
|
||||
switch (subcall_type) {
|
||||
|
@ -102,7 +102,7 @@ public:
|
||||
#endif
|
||||
|
||||
// Basic file ops
|
||||
static void openFileRead(char * const path, const uint8_t subcall=0);
|
||||
static void openFileRead(const char * const path, const uint8_t subcall=0);
|
||||
static void openFileWrite(const char * const path);
|
||||
static void closefile(const bool store_location=false);
|
||||
static bool fileExists(const char * const name);
|
||||
|
Reference in New Issue
Block a user