macros for divisors and fix lf optimal freq display

This commit is contained in:
Philippe Teuwen committed 2019-10-03 18:32:27 +02:00
1 parent 6df9eea950
commit f29ad0fba2
4 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ Default LF config is set to:
divisor = 95 (125kHz)
trigger_threshold = 0
*/
sample_config config = { 1, 8, 1, 96, 0, 0 } ;
sample_config config = { 1, 8, 1, LF_DIVISOR_125, 0, 0 } ;
void printConfig() {
uint32_t d = config.divisor;