summaryrefslogtreecommitdiff
path: root/src/c/hardware/rasberrypi/pwm
diff options
context:
space:
mode:
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);
}