summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/pwm
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 22:44:13 +0530
committerBrijeshcr2017-07-07 22:44:13 +0530
commit9ac9018159cd030c688d8f5ad9167519a8a1d44c (patch)
treea186e0865e47065bd7ef6cbc85fba9c53f0bf016 /2.3-1/src/c/hardware/rasberrypi/pwm
parent1df1fd26cfd7b19dda4b7a572687c863b530b380 (diff)
parentbe5eb631423e8a1b5b5c2db7ea4d8e066030f767 (diff)
downloadScilab2C-9ac9018159cd030c688d8f5ad9167519a8a1d44c.tar.gz
Scilab2C-9ac9018159cd030c688d8f5ad9167519a8a1d44c.tar.bz2
Scilab2C-9ac9018159cd030c688d8f5ad9167519a8a1d44c.zip
Pi function changes and gui mods
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/pwm')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c b/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
index fe1b8cd2..3fe0c828 100644
--- a/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
+++ b/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
@@ -12,6 +12,6 @@
#include "RPIPeripheralPWM.h"
-void u8RPI_pwmToneWrites(uint8 pin, uint16 value){
- pwmToneWrite(pin, value);
+void u8RPI_pwmToneWrites(uint8 pin,uint16 freq){
+ pwmToneWrite(pin,freq);
}