gui: fixed a bug (missing ret).

This commit is contained in:
Martin Preuss
2026-05-09 02:00:06 +02:00
parent 21b6a992ff
commit c165432c1c

View File

@@ -403,7 +403,7 @@ Widget_SetCurrentValue:
Widget_GetCurrentValue:
ldi r17, WIDGET_VALUE_CURRENTVALUE
bigjmp widgetGetValueOrZero
rjmp widgetGetValueOrZero
; @end
@@ -433,7 +433,7 @@ Widget_SetMinValue:
Widget_GetMinValue:
ldi r17, WIDGET_VALUE_CURRENTVALUE
bigjmp widgetGetValueOrZero
rjmp widgetGetValueOrZero
; @end
@@ -463,7 +463,7 @@ Widget_SetMaxValue:
Widget_GetMaxValue:
ldi r17, WIDGET_VALUE_MAXVALUE
bigjmp widgetGetValueOrZero
rjmp widgetGetValueOrZero
; @end
@@ -499,6 +499,7 @@ widgetGetValueOrZero:
clr r18
clr r19
widgetGetValueOrZero_ret:
ret
; @end