From c5454df36cdc51840df3ff46161e3746a15608da Mon Sep 17 00:00:00 2001
From: recallmenot <edmund.raile@proton.me>
Date: Tue, 23 May 2023 06:44:48 +0200
Subject: [PATCH] converted all example include paths

---
 examples/GPIO/wiring.h                     | 2 +-
 examples/GPIO_analogRead/wiring.h          | 2 +-
 examples/spi_24L01_rx/nrf24l01_low_level.c | 2 +-
 examples/spi_24L01_rx/spi_24L01_rx.c       | 2 +-
 examples/spi_24L01_tx/nrf24l01_low_level.c | 2 +-
 examples/spi_24L01_tx/spi_24L01_tx.c       | 2 +-
 examples/standby_btn/standby_btn.c         | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/examples/GPIO/wiring.h b/examples/GPIO/wiring.h
index 5b82203..c54f9fb 100644
--- a/examples/GPIO/wiring.h
+++ b/examples/GPIO/wiring.h
@@ -1,7 +1,7 @@
 #ifndef WIRING_H
 #define WIRING_H
 
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 
 
 
diff --git a/examples/GPIO_analogRead/wiring.h b/examples/GPIO_analogRead/wiring.h
index 5b82203..c54f9fb 100644
--- a/examples/GPIO_analogRead/wiring.h
+++ b/examples/GPIO_analogRead/wiring.h
@@ -1,7 +1,7 @@
 #ifndef WIRING_H
 #define WIRING_H
 
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 
 
 
diff --git a/examples/spi_24L01_rx/nrf24l01_low_level.c b/examples/spi_24L01_rx/nrf24l01_low_level.c
index 3d5c21b..a69547b 100644
--- a/examples/spi_24L01_rx/nrf24l01_low_level.c
+++ b/examples/spi_24L01_rx/nrf24l01_low_level.c
@@ -1,6 +1,6 @@
 #define SYSTEM_CORE_CLOCK 48000000
 #define APB_CLOCK SYSTEM_CORE_CLOCK
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 
 
 #define CH32V003_SPI_SPEED_HZ 1000000
diff --git a/examples/spi_24L01_rx/spi_24L01_rx.c b/examples/spi_24L01_rx/spi_24L01_rx.c
index 0b20192..f7c8149 100644
--- a/examples/spi_24L01_rx/spi_24L01_rx.c
+++ b/examples/spi_24L01_rx/spi_24L01_rx.c
@@ -6,7 +6,7 @@
 #define SYSTEM_CORE_CLOCK 48000000
 #define APB_CLOCK SYSTEM_CORE_CLOCK
 
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 #include <stdio.h>
 #include "nrf24l01.h"
 
diff --git a/examples/spi_24L01_tx/nrf24l01_low_level.c b/examples/spi_24L01_tx/nrf24l01_low_level.c
index 3d5c21b..a69547b 100644
--- a/examples/spi_24L01_tx/nrf24l01_low_level.c
+++ b/examples/spi_24L01_tx/nrf24l01_low_level.c
@@ -1,6 +1,6 @@
 #define SYSTEM_CORE_CLOCK 48000000
 #define APB_CLOCK SYSTEM_CORE_CLOCK
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 
 
 #define CH32V003_SPI_SPEED_HZ 1000000
diff --git a/examples/spi_24L01_tx/spi_24L01_tx.c b/examples/spi_24L01_tx/spi_24L01_tx.c
index 46c5f51..16a1c7e 100644
--- a/examples/spi_24L01_tx/spi_24L01_tx.c
+++ b/examples/spi_24L01_tx/spi_24L01_tx.c
@@ -6,7 +6,7 @@
 #define SYSTEM_CORE_CLOCK 48000000
 #define APB_CLOCK SYSTEM_CORE_CLOCK
 
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 #include <stdio.h>
 #include "nrf24l01.h"
 
diff --git a/examples/standby_btn/standby_btn.c b/examples/standby_btn/standby_btn.c
index de1a846..3a6cd72 100644
--- a/examples/standby_btn/standby_btn.c
+++ b/examples/standby_btn/standby_btn.c
@@ -2,7 +2,7 @@
 // Could be defined here, or in the processor defines.
 #define SYSTEM_CORE_CLOCK 48000000
 
-#include "../../ch32v003fun/ch32v003fun.h"
+#include "ch32v003fun.h"
 #include <stdio.h>
 
 #define APB_CLOCK SYSTEM_CORE_CLOCK
-- 
GitLab