瀏覽代碼

#271 Pi4 too high freq at pwmc 100

pull/272/head
mstroh76 2 月之前
父節點
當前提交
385d5b4b25
共有 3 個檔案被更改,包括 4 行新增4 行删除
  1. +1
    -1
      VERSION
  2. +2
    -2
      version.h
  3. +1
    -1
      wiringPi/test/wiringpi_test9_pwm.c

+ 1
- 1
VERSION 查看文件

@@ -1 +1 @@
3.7
3.8

+ 2
- 2
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

+ 1
- 1
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};


Loading…
取消
儲存