summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
diff options
context:
space:
mode:
authorJorawar Singh2017-07-07 13:00:37 +0530
committerJorawar Singh2017-07-07 13:00:37 +0530
commitcaaf226244923c75586ea1d4fb1fdcd0a73d2d51 (patch)
tree7c1cc7bea08325a57c8712dbfb823f4f0b4128ee /2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c
parente9de337a34e123749927039f7011fb30fc96f7c9 (diff)
downloadScilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.tar.gz
Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.tar.bz2
Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.zip
Raspberry Pi function changes and minor gui changes
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/pwm/u8RPI_pwmToneWrites.c')
-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);
}