From 385d5b4b253228cccc2b0a49801c114bbb854202 Mon Sep 17 00:00:00 2001 From: mstroh76 Date: Sat, 31 Aug 2024 18:45:23 +0200 Subject: [PATCH] #271 Pi4 too high freq at pwmc 100 --- VERSION | 2 +- version.h | 4 ++-- wiringPi/test/wiringpi_test9_pwm.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 548d713..cc1923a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.7 \ No newline at end of file +3.8 diff --git a/version.h b/version.h index 8d97c49..b79a6e9 100644 --- a/version.h +++ b/version.h @@ -1,3 +1,3 @@ -#define VERSION "3.7" +#define VERSION "3.8" #define VERSION_MAJOR 3 -#define VERSION_MINOR 7 +#define VERSION_MINOR 8 diff --git a/wiringPi/test/wiringpi_test9_pwm.c b/wiringPi/test/wiringpi_test9_pwm.c index a368395..19baa12 100644 --- a/wiringPi/test/wiringpi_test9_pwm.c +++ b/wiringPi/test/wiringpi_test9_pwm.c @@ -51,7 +51,7 @@ double MeasureAndCheckFreq(const char* msg, double expect_freq) { } -int tests_pwmc[7] = {1456, 1000, 512, 100, 2000, 3000, 4000}; +int tests_pwmc[7] = {1456, 1000, 512, 200, 2000, 3000, 4000}; int tests_duty[7] = { 512, 768, 682, 922, 256, 341, 102}; int tests_pwmr[12]= { 50, 100, 200, 512, 1024, 1456, 2000, 3000, 5000, 10000, 15000, 20000}; int tests_pwm[3] = { 50, 25, 75};