From fac6f8eab26edb2684643d7bf95ccdeadbf6709a Mon Sep 17 00:00:00 2001 From: sanni Date: Thu, 16 Jun 2022 15:15:43 +0200 Subject: Copy latest log to dump dir --- Cart_Reader/SMS.ino | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cart_Reader/SMS.ino') diff --git a/Cart_Reader/SMS.ino b/Cart_Reader/SMS.ino index 30abd8c..e4b9480 100644 --- a/Cart_Reader/SMS.ino +++ b/Cart_Reader/SMS.ino @@ -68,6 +68,9 @@ void _smsMenu() { // Change working dir to root sd.chdir("/"); readROM_SMS(); +#ifdef global_log + save_log(); +#endif break; case 1: -- cgit v1.2.3