lorol / LITTLEFS

LittleFS library for arduino-esp32
GNU General Public License v2.0
167 stars 68 forks source link

How to call `sync` manually? #65

Open trullock opened 1 year ago

trullock commented 1 year ago

I'm suffering from this problem: https://github.com/littlefs-project/littlefs/issues/344

Given a File opened by LITTLEFS.open(), how can I go about getting LFS to sync it? I can't find the esp-wrapped API call to make this work...

Thanks