mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/pwmout_api.c
- Revision:
- 166:cb4253f91ada
- Parent:
- 164:90c6009cba07
- Child:
- 187:3c46d8ef3e7f
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/pwmout_api.c Tue Apr 22 15:00:07 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/pwmout_api.c Tue Apr 22 16:00:06 2014 +0100 @@ -29,6 +29,8 @@ */ #include "pwmout_api.h" +#if DEVICE_PWMOUT + #include "cmsis.h" #include "pinmap.h" #include "error.h" @@ -214,3 +216,5 @@ float value = (float)us / (float)obj->period; pwmout_write(obj, value); } + +#endif