You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/01/09 17:20:26 UTC
[incubator-nuttx] branch master updated:
boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c: Fix stm32_pwm.c build
error, 'OK' undeclared.
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 679b11b boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c: Fix stm32_pwm.c build error, 'OK' undeclared.
679b11b is described below
commit 679b11b03f234e9f888d61c4a8a4f534544b8f2c
Author: Daniel P. Carvalho <da...@gmail.com>
AuthorDate: Thu Jan 9 11:20:32 2020 -0600
boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c: Fix stm32_pwm.c build error, 'OK' undeclared.
---
boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c b/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c
index 133df7c..06cea8c 100644
--- a/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c
+++ b/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c
@@ -42,6 +42,7 @@
#include <nuttx/config.h>
+#include <sys/types.h>
#include <errno.h>
#include <debug.h>
@@ -62,7 +63,7 @@
/* Configuration **************************************************************/
/* PWM
*
- * The STM3240G-Eval has no real on-board PWM devices, but the board can be
+ * The nucleo-l432kc has no real on-board PWM devices, but the board can be
* configured to output a pulse train using variously unused pins on the board
* for PWM output (see board.h for details of pins).
*/