summaryrefslogtreecommitdiff
path: root/src/drivers/Spi.h
diff options
context:
space:
mode:
authorReinhold Gschweicher <pyro4hell@gmail.com>2021-10-13 22:08:35 +0200
committerReinhold Gschweicher <pyro4hell@gmail.com>2021-11-15 22:02:49 +0100
commitac7b2da611fa5ef4cc989a9feb027f66c0ebfc6c (patch)
tree15a03dd3349eae42628f657790482c45eaedd509 /src/drivers/Spi.h
parent624429b54c1819d58b69a2f74f5c852e1ecb0ed3 (diff)
Update includes to to be relative to src directory
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
Diffstat (limited to 'src/drivers/Spi.h')
-rw-r--r--src/drivers/Spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Spi.h b/src/drivers/Spi.h
index 6875710d..9b6a30f4 100644
--- a/src/drivers/Spi.h
+++ b/src/drivers/Spi.h
@@ -1,7 +1,7 @@
#pragma once
#include <cstdint>
#include <cstddef>
-#include "SpiMaster.h"
+#include "drivers/SpiMaster.h"
namespace Pinetime {
namespace Drivers {