From 50d6efada5bfa2b23a3e1830051475e95d33eb53 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 10 Sep 2024 14:42:40 +1000 Subject: Use '/sd' instead of '/sdcard' for accessing the sd card it's cleaner --- src/tangara/ui/screenshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tangara/ui/screenshot.cpp') diff --git a/src/tangara/ui/screenshot.cpp b/src/tangara/ui/screenshot.cpp index e4f9cc3f..b6ee4e2f 100644 --- a/src/tangara/ui/screenshot.cpp +++ b/src/tangara/ui/screenshot.cpp @@ -34,7 +34,7 @@ auto SaveScreenshot(lv_obj_t* obj, const std::string& path) -> void { } // The LVGL lodepng fork uses LVGL's file API, so an extra '/' is needed. - std::string fullpath = "//sdcard/" + path; + std::string fullpath = "//sd/" + path; auto res = lodepng_encode_file(fullpath.c_str(), buf->data, buf->header.w, buf->header.h, LCT_RGB, 8); -- cgit v1.2.3