diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-10-13 20:08:35 (GMT) |
|---|---|---|
| committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-11-15 21:02:49 (GMT) |
| commit | ac7b2da611fa5ef4cc989a9feb027f66c0ebfc6c (patch) | |
| tree | 15a03dd3349eae42628f657790482c45eaedd509 /src/drivers/St7789.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/St7789.cpp')
| -rw-r--r-- | src/drivers/St7789.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/St7789.cpp b/src/drivers/St7789.cpp index 4d81cf2..fd1366f 100644 --- a/src/drivers/St7789.cpp +++ b/src/drivers/St7789.cpp @@ -1,8 +1,8 @@ -#include "St7789.h" +#include "drivers/St7789.h" #include <hal/nrf_gpio.h> #include <libraries/delay/nrf_delay.h> #include <nrfx_log.h> -#include "Spi.h" +#include "drivers/Spi.h" using namespace Pinetime::Drivers; |
