forked from M-Labs/rust-fatfs
Fix nostd build
This commit is contained in:
parent
808d58dff7
commit
21b51af6d5
@ -105,6 +105,7 @@ impl DirFileEntryData {
|
|||||||
&self.name
|
&self.name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "alloc")]
|
||||||
fn lowercase_name(&self) -> String {
|
fn lowercase_name(&self) -> String {
|
||||||
let mut name_copy: [u8; 11] = self.name;
|
let mut name_copy: [u8; 11] = self.name;
|
||||||
if self.lowercase_basename() {
|
if self.lowercase_basename() {
|
||||||
|
Loading…
Reference in New Issue
Block a user