diff options
author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-10-13 22:08:35 +0200 |
---|---|---|
committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-11-15 22:02:49 +0100 |
commit | ac7b2da611fa5ef4cc989a9feb027f66c0ebfc6c (patch) | |
tree | 15a03dd3349eae42628f657790482c45eaedd509 /src/drivers/SpiNorFlash.cpp | |
parent | 624429b54c1819d58b69a2f74f5c852e1ecb0ed3 (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/SpiNorFlash.cpp')
-rw-r--r-- | src/drivers/SpiNorFlash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/SpiNorFlash.cpp b/src/drivers/SpiNorFlash.cpp index 068d1d02..ebe3174c 100644 --- a/src/drivers/SpiNorFlash.cpp +++ b/src/drivers/SpiNorFlash.cpp @@ -1,8 +1,8 @@ -#include "SpiNorFlash.h" +#include "drivers/SpiNorFlash.h" #include <hal/nrf_gpio.h> #include <libraries/delay/nrf_delay.h> #include <libraries/log/nrf_log.h> -#include "Spi.h" +#include "drivers/Spi.h" using namespace Pinetime::Drivers; |