mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2569 from kwagyeman/kwabena/genx320_freq_round_up
sensors/genx320: Round frequency calc.
This commit is contained in:
commit
83a9df84cb
@ -66,7 +66,7 @@
|
||||
#define EVENT_THRESHOLD_TO_CALIBRATE 100000
|
||||
#define EVENT_THRESHOLD_SIGMA 10
|
||||
|
||||
#define EVT_CLK_FREQ (omv_csi_get_xclk_frequency() / 1000000)
|
||||
#define EVT_CLK_FREQ ((omv_csi_get_xclk_frequency() + 500000) / 1000000)
|
||||
#define EVT_SCALE_PERIOD(period) (((period) * EVT_CLK_FREQ) / 10)
|
||||
|
||||
#define AFK_50_HZ (50)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user