aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-05 18:24:42 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-05 18:48:50 +0200
commitdf3661e1367780a9e5d68448529880f2c1b3482b (patch)
tree04a3d8a23c0ff84fc20269196afd239938671e43
parent6adc5149137ef66724d19a4679f817f4e63a741b (diff)
downloadglutte-o-matic-df3661e1367780a9e5d68448529880f2c1b3482b.tar.gz
glutte-o-matic-df3661e1367780a9e5d68448529880f2c1b3482b.tar.bz2
glutte-o-matic-df3661e1367780a9e5d68448529880f2c1b3482b.zip
Fix includes in source files
-rw-r--r--src/glutt-o-logique/FreeRTOSConfig.h2
-rw-r--r--src/glutt-o-logique/audio.c2
-rw-r--r--src/glutt-o-logique/common.c2
-rw-r--r--src/glutt-o-logique/cw.c2
-rw-r--r--src/glutt-o-logique/fsm.c2
-rw-r--r--src/glutt-o-logique/gps.c2
-rw-r--r--src/glutt-o-logique/leds.c2
-rw-r--r--src/glutt-o-logique/main.c2
-rw-r--r--src/glutt-o-logique/minmea.c2
-rw-r--r--src/glutt-o-logique/temperature.c2
-rw-r--r--src/glutt-o-logique/usart.c4
11 files changed, 12 insertions, 12 deletions
diff --git a/src/glutt-o-logique/FreeRTOSConfig.h b/src/glutt-o-logique/FreeRTOSConfig.h
index 8d6f128..a6ff6f3 100644
--- a/src/glutt-o-logique/FreeRTOSConfig.h
+++ b/src/glutt-o-logique/FreeRTOSConfig.h
@@ -1,3 +1,3 @@
-#include "../../../common/src/Core/FreeRTOSConfig.h"
+#include "../common/src/Core/FreeRTOSConfig.h"
#define configCHECK_FOR_STACK_OVERFLOW 2 // Default: 2
diff --git a/src/glutt-o-logique/audio.c b/src/glutt-o-logique/audio.c
index bdb2961..f2ef989 100644
--- a/src/glutt-o-logique/audio.c
+++ b/src/glutt-o-logique/audio.c
@@ -2,7 +2,7 @@
#include "stm32f4xx_conf.h"
#include "stm32f4xx.h"
-#include "../../../common/src/Audio/audio.c"
+#include "../common/src/Audio/audio.c"
void audio_initialize_platform(int plln, int pllr, int i2sdiv, int i2sodd, int rate) {
diff --git a/src/glutt-o-logique/common.c b/src/glutt-o-logique/common.c
index a647d26..f69c5dc 100644
--- a/src/glutt-o-logique/common.c
+++ b/src/glutt-o-logique/common.c
@@ -1,6 +1,6 @@
#include <stm32f4xx.h>
-#include "../../../common/src/Core/common.c"
+#include "../common/src/Core/common.c"
void hard_fault_handler_extra() {
usart_debug("SCB_SHCSR = %x\n", SCB->SHCSR);
diff --git a/src/glutt-o-logique/cw.c b/src/glutt-o-logique/cw.c
index 028ae82..7550916 100644
--- a/src/glutt-o-logique/cw.c
+++ b/src/glutt-o-logique/cw.c
@@ -1,4 +1,4 @@
-#include "../../../common/src/Audio/cw.c"
+#include "../common/src/Audio/cw.c"
void cw_message_sent(const char* str) {
}
diff --git a/src/glutt-o-logique/fsm.c b/src/glutt-o-logique/fsm.c
index 99413ba..9b37cdc 100644
--- a/src/glutt-o-logique/fsm.c
+++ b/src/glutt-o-logique/fsm.c
@@ -1,4 +1,4 @@
-#include "../../../common/src/Core/fsm.c"
+#include "../common/src/Core/fsm.c"
void fsm_state_switched(char * new_state) {
diff --git a/src/glutt-o-logique/gps.c b/src/glutt-o-logique/gps.c
index 10afe88..6cb1ab3 100644
--- a/src/glutt-o-logique/gps.c
+++ b/src/glutt-o-logique/gps.c
@@ -1,4 +1,4 @@
#include "stm32f4xx_conf.h"
#include "stm32f4xx.h"
-#include "../../../common/src/GPS/gps.c"
+#include "../common/src/GPS/gps.c"
diff --git a/src/glutt-o-logique/leds.c b/src/glutt-o-logique/leds.c
index 88b46bf..0792e4a 100644
--- a/src/glutt-o-logique/leds.c
+++ b/src/glutt-o-logique/leds.c
@@ -1,4 +1,4 @@
-#include "../../../common/src/GPIO/leds.c"
+#include "../common/src/GPIO/leds.c"
#include "stm32f4xx_conf.h"
diff --git a/src/glutt-o-logique/main.c b/src/glutt-o-logique/main.c
index 21df1d0..4ffc3dc 100644
--- a/src/glutt-o-logique/main.c
+++ b/src/glutt-o-logique/main.c
@@ -25,7 +25,7 @@
#include "stm32f4xx_conf.h"
#include "leds.h"
-#include "../../../common/src/Core/main.c"
+#include "../common/src/Core/main.c"
void init() {
diff --git a/src/glutt-o-logique/minmea.c b/src/glutt-o-logique/minmea.c
index 10df198..0fe2966 100644
--- a/src/glutt-o-logique/minmea.c
+++ b/src/glutt-o-logique/minmea.c
@@ -1 +1 @@
-#include "../../../common/src/GPS/minmea.c"
+#include "../common/src/GPS/minmea.c"
diff --git a/src/glutt-o-logique/temperature.c b/src/glutt-o-logique/temperature.c
index 780a019..c6394dd 100644
--- a/src/glutt-o-logique/temperature.c
+++ b/src/glutt-o-logique/temperature.c
@@ -11,7 +11,7 @@
#include "Core/delay.h"
-#include "../../../common/src/GPIO/temperature.c"
+#include "../common/src/GPIO/temperature.c"
const TickType_t _temperature_delay = 60000 / portTICK_PERIOD_MS; // 60s
diff --git a/src/glutt-o-logique/usart.c b/src/glutt-o-logique/usart.c
index d174719..4c5869d 100644
--- a/src/glutt-o-logique/usart.c
+++ b/src/glutt-o-logique/usart.c
@@ -38,8 +38,8 @@ const uint16_t GPIOA_PIN_USART2_TX = GPIO_Pin_2;
static void usart_puts(USART_TypeDef*, const char*);
-#include "../../../common/includes/GPIO/usart.h"
-#include "../../../common/src/GPIO/usart.c"
+#include "../common/includes/GPIO/usart.h"
+#include "../common/src/GPIO/usart.c"
void usart_init() {