Skip to content

Commit

Permalink
Fix k_ticks_get_64()
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdietrich committed Nov 10, 2024
1 parent cd80fb3 commit 77deff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/avrtos/arch/arch_utils.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ k_ticks_get_32:
k_ticks_get_64:
lds r26, SREG
cli
lds r18, z_ker
lds r18, z_ker + 2
lds r19, z_ker + 3
lds r20, z_ker + 4
lds r21, z_ker + 5
sts SREG, r26
#if CONFIG_CONFIG_KERNEL_TICKS_COUNTER_40BITS
lds r22, z_ker + 5
lds r22, z_ker + 6
#else
ldi r22, 0x00
#endif /* CONFIG_CONFIG_KERNEL_TICKS_COUNTER_40BITS */
Expand Down

0 comments on commit 77deff7

Please sign in to comment.