Skip to content

Commit

Permalink
fall back to periodic tic
Browse files Browse the repository at this point in the history
timers aren't as good as we'd like. The VT in charge of them causes mayhem on double-buffered timers like CT16, resulting in random timekeeping
  • Loading branch information
dexter93 committed Oct 12, 2022
1 parent 2e95cef commit a39707f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions platforms/chibios/boards/SN_SN32F240B/configs/chconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

#pragma once

#define CH_CFG_ST_RESOLUTION 16
#define CH_CFG_ST_FREQUENCY 10000

#define CH_CFG_ST_FREQUENCY 187500
#define CH_CFG_ST_TIMEDELTA 0

#define CH_CFG_USE_TIMESTAMP FALSE

Expand Down
4 changes: 2 additions & 2 deletions platforms/chibios/boards/SN_SN32F260/configs/chconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

#pragma once

#define CH_CFG_ST_RESOLUTION 16
#define CH_CFG_ST_FREQUENCY 10000

#define CH_CFG_ST_FREQUENCY 187500
#define CH_CFG_ST_TIMEDELTA 0

#define CH_CFG_OPTIMIZE_SPEED FALSE

Expand Down

0 comments on commit a39707f

Please sign in to comment.