Improve RTC component name

This commit is contained in:
Robin Jones 2024-11-22 20:08:39 +00:00
parent e83991a987
commit 09d9648f6a

View File

@ -72,8 +72,8 @@ void adjust_rtc_time( struct tm *t, int incr ) {
*t = *gmtime( &timestamp ); *t = *gmtime( &timestamp );
} }
void component_editdatetime_draw ( struct tm t, rtc_field_t selected_field ) { void rtc_ui_component_editdatetime_draw ( struct tm t, rtc_field_t selected_field ) {
// FIXME: move this to components.c once improved. // FIXME: move this to ui_components.c once improved.
/* Format RTC date/time as strings */ /* Format RTC date/time as strings */
char full_dt[30]; char full_dt[30];
char current_selection_chars[30]; char current_selection_chars[30];
@ -227,7 +227,7 @@ static void draw (menu_t *menu, surface_t *d) {
} }
if (is_editing_mode) { if (is_editing_mode) {
component_editdatetime_draw(rtc_tm, editing_field_type); rtc_ui_component_editdatetime_draw(rtc_tm, editing_field_type);
} }
rdpq_detach_show(); rdpq_detach_show();