summaryrefslogtreecommitdiff
path: root/src/tangara/ui/screenshot.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-09-13 10:17:34 +1000
committerjacqueline <me@jacqueline.id.au>2024-09-13 10:17:34 +1000
commit1106012bde558dab5e192c2129178d44f80b9e4e (patch)
tree12e57cd25efda02a1c6dd58250b3fe8a644434de /src/tangara/ui/screenshot.cpp
parentd8b9e65e68214b4aa2bb24ddae3602d5788bc469 (diff)
parenta174d76aa16e09ddfc2ce67393c92ed947a817a5 (diff)
downloadtangara-fw-1106012bde558dab5e192c2129178d44f80b9e4e.tar.gz
Merge branch 'main' into jqln/tts
Diffstat (limited to 'src/tangara/ui/screenshot.cpp')
-rw-r--r--src/tangara/ui/screenshot.cpp2
1 files changed, 1 insertions, 1 deletions
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);