summaryrefslogtreecommitdiff
path: root/src/c/hardware/rasberrypi/pwm
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 22:44:13 +0530
committerBrijeshcr2017-07-07 22:44:13 +0530
commitdc2a8c2cec20a086e1f9312e90281891c2f2c4d0 (patch)
treee6b5f23245687b50e2888196bf9e59b5f0bd81b2 /src/c/hardware/rasberrypi/pwm
parenteb4fd4f84b56a9b8f1976a67461f2c918edede32 (diff)
parent6e81efbdcf96e8ce2d393f5641a56783adeaf61c (diff)
downloadScilab2C_fossee_old-dc2a8c2cec20a086e1f9312e90281891c2f2c4d0.tar.gz
Scilab2C_fossee_old-dc2a8c2cec20a086e1f9312e90281891c2f2c4d0.tar.bz2
Scilab2C_fossee_old-dc2a8c2cec20a086e1f9312e90281891c2f2c4d0.zip
Pi function changes and gui mods
Diffstat (limited to 'src/c/hardware/rasberrypi/pwm')
-rw-r--r--src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c b/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
index fe1b8cd..3fe0c82 100644
--- a/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
+++ b/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);
}