Skip to content

Commit

Permalink
Fix DateTime to FuriHalRtcDateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanFuentealba committed Mar 11, 2024
1 parent 508cbe3 commit 6b5513d
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) {
DateTime datetime = {0};
FuriHalRtcDateTime 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) {
DateTime datetime = {0};
FuriHalRtcDateTime datetime = {0};
furi_hal_rtc_get_datetime(&datetime);
furi_string_printf(
name,
Expand Down

2 comments on commit 6b5513d

@RogueMaster
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking fix, it was right the first time... See examples here

@EstebanFuentealba
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, At first, I was using to the latest code in the repository, but then I realized it's still at version 0.99.0-rc (DateTime). Therefore, for the pipeline, it generates the apps based on the latest stable release (not the release candidate or it throw error).

Please sign in to comment.