gui: fixed a bug (missing ret).
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user