diff --git a/platforms/chibios/boards/SN_SN32F240B/configs/chconf.h b/platforms/chibios/boards/SN_SN32F240B/configs/chconf.h index 287ccc7a3a7a..154cf2ecee8d 100644 --- a/platforms/chibios/boards/SN_SN32F240B/configs/chconf.h +++ b/platforms/chibios/boards/SN_SN32F240B/configs/chconf.h @@ -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 diff --git a/platforms/chibios/boards/SN_SN32F260/configs/chconf.h b/platforms/chibios/boards/SN_SN32F260/configs/chconf.h index 821725a0c24a..f95b4f8bae34 100644 --- a/platforms/chibios/boards/SN_SN32F260/configs/chconf.h +++ b/platforms/chibios/boards/SN_SN32F260/configs/chconf.h @@ -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