Skip to content

Commit

Permalink
FuriHalRtc refactor: new datetime lib
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanFuentealba committed Mar 12, 2024
1 parent a5277e4 commit 0826f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static void gb_live_camera_view_draw_callback(Canvas* canvas, void* _model) {
}

void get_timefilename(FuriString* name) {
FuriHalRtcDateTime datetime = {0};
DateTime datetime = {0};
furi_hal_rtc_get_datetime(&datetime);
furi_string_printf(
name,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "malveke_photo.h"

void get_timefilename(FuriString* name, int index) {
FuriHalRtcDateTime datetime = {0};
DateTime datetime = {0};
furi_hal_rtc_get_datetime(&datetime);
furi_string_printf(
name,
Expand Down

0 comments on commit 0826f2f

Please sign in to comment.