mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-02-19 02:42:21 -07:00
Replace all remaining 'boolean' with 'bool'
This commit is contained in:
parent
f6858d9974
commit
fa26767efe
3 changed files with 5 additions and 5 deletions
|
|
@ -81,7 +81,7 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
|
|||
createFilename(lfilename, p);
|
||||
|
||||
// Allocate enough stack space for the full path to a folder, trailing slash, and nul
|
||||
boolean prepend_is_empty = (prepend[0] == '\0');
|
||||
bool prepend_is_empty = (prepend[0] == '\0');
|
||||
int len = (prepend_is_empty ? 1 : strlen(prepend)) + strlen(lfilename) + 1 + 1;
|
||||
char path[len];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue