From 2e5d1a6dac595d587ccadcf1ee9bb9ec52f3a9bb Mon Sep 17 00:00:00 2001 From: Lennart Eriksson Date: Fri, 16 Sep 2016 16:23:22 +0200 Subject: [PATCH] fixed bug with bool --- UAV-ControlSystem/.cproject | 4 ++++ UAV-ControlSystem/src/drivers/pwm.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/UAV-ControlSystem/.cproject b/UAV-ControlSystem/.cproject index 5a05b56..5fde50a 100644 --- a/UAV-ControlSystem/.cproject +++ b/UAV-ControlSystem/.cproject @@ -42,6 +42,8 @@ + + @@ -135,6 +137,8 @@ + + diff --git a/UAV-ControlSystem/src/drivers/pwm.c b/UAV-ControlSystem/src/drivers/pwm.c index 91f229b..33c7efa 100644 --- a/UAV-ControlSystem/src/drivers/pwm.c +++ b/UAV-ControlSystem/src/drivers/pwm.c @@ -10,7 +10,6 @@ #include "stm32f4xx.h" #include "drivers/pwm.h" -typedef enum { false, true } bool; bool pwmOk = true;