gui: fixed ValueLabel to also use WIDGET_VALUE_CURRENTVALUE

This commit is contained in:
Martin Preuss
2026-05-09 01:59:47 +02:00
parent 35a45e5cb2
commit 21b6a992ff
4 changed files with 27 additions and 26 deletions

View File

@@ -295,7 +295,7 @@ netStatWinUpdate_ret:
netWinStatsUpdatePacketsIn:
lds xl, netInterfaceData+NET_IFACE_OFFS_PACKETSIN_LOW
lds xh, netInterfaceData+NET_IFACE_OFFS_PACKETSIN_HIGH
bigcall ValueLabel_SetValue
bigcall Widget_SetCurrentValue
rjmp netWinStatsSkip2
; @end
@@ -304,7 +304,7 @@ netWinStatsUpdatePacketsIn:
netWinStatsUpdatePacketsOut:
lds xl, netInterfaceData+NET_IFACE_OFFS_PACKETSOUT_LOW
lds xh, netInterfaceData+NET_IFACE_OFFS_PACKETSOUT_HIGH
bigcall ValueLabel_SetValue
bigcall Widget_SetCurrentValue
rjmp netWinStatsSkip2
; @end
@@ -312,7 +312,7 @@ netWinStatsUpdatePacketsOut:
netWinStatsUpdateContentErrors:
lds xl, netInterfaceData+NET_IFACE_OFFS_ERR_CONTENT_LOW
lds xh, netInterfaceData+NET_IFACE_OFFS_ERR_CONTENT_HIGH
bigcall ValueLabel_SetValue
bigcall Widget_SetCurrentValue
rjmp netWinStatsSkip2
; @end
@@ -321,7 +321,7 @@ netWinStatsUpdateContentErrors:
netWinStatsUpdateIoErrors:
lds xl, netInterfaceData+NET_IFACE_OFFS_ERR_IO_LOW
lds xh, netInterfaceData+NET_IFACE_OFFS_ERR_IO_HIGH
bigcall ValueLabel_SetValue
bigcall Widget_SetCurrentValue
rjmp netWinStatsSkip2
; @end
@@ -329,7 +329,7 @@ netWinStatsUpdateIoErrors:
netWinStatsUpdateMsgSizeErrors:
lds xl, netInterfaceData+NET_IFACE_OFFS_ERR_MSGSIZE_LOW
lds xh, netInterfaceData+NET_IFACE_OFFS_ERR_MSGSIZE_HIGH
bigcall ValueLabel_SetValue
bigcall Widget_SetCurrentValue
ret
; @end