aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/KINETIS/TEENSY_LC/PWM/main.c
diff options
context:
space:
mode:
authorflabbergast <s3+flabbergast@sdfeu.org>2016-05-08 09:09:43 +0100
committerflabbergast <s3+flabbergast@sdfeu.org>2016-05-08 09:09:43 +0100
commit7d99206f055a3527bf1aa92052f9923f6cb744a5 (patch)
tree80fc513f4a5f47e3bb1be9aae57c20bad30e7641 /testhal/KINETIS/TEENSY_LC/PWM/main.c
parentcf02c79b5aa7209542cbf1b0cefe703a2c0c60be (diff)
downloadChibiOS-Contrib-7d99206f055a3527bf1aa92052f9923f6cb744a5.tar.gz
ChibiOS-Contrib-7d99206f055a3527bf1aa92052f9923f6cb744a5.tar.bz2
ChibiOS-Contrib-7d99206f055a3527bf1aa92052f9923f6cb744a5.zip
[KINETIS] PAL driver: implement PAL_LINE.
Diffstat (limited to 'testhal/KINETIS/TEENSY_LC/PWM/main.c')
-rw-r--r--testhal/KINETIS/TEENSY_LC/PWM/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/KINETIS/TEENSY_LC/PWM/main.c b/testhal/KINETIS/TEENSY_LC/PWM/main.c
index b366e9e..f8e6ba2 100644
--- a/testhal/KINETIS/TEENSY_LC/PWM/main.c
+++ b/testhal/KINETIS/TEENSY_LC/PWM/main.c
@@ -19,12 +19,12 @@
static void pwmpcb(PWMDriver *pwmp) {
(void)pwmp;
- palSetPad(TEENSY_PIN13_IOPORT, TEENSY_PIN13);
+ palSetLine(LINE_LED);
}
static void pwmc0cb(PWMDriver *pwmp) {
(void)pwmp;
- palClearPad(TEENSY_PIN13_IOPORT, TEENSY_PIN13);
+ palClearLine(LINE_LED);
}
static PWMConfig pwmcfg = {