Fixed include paths for nRF5 SDK

/home/runner/work/pinetime-lab/pinetime-lab/src/drivers/TwiMaster.cpp:1:10: fatal error: sdk/integration/nrfx/nrfx_log.h: No such file or directory: #include <sdk/integration/nrfx/nrfx_log.h>
This commit is contained in:
Lee Lup Yuen 2020-07-22 10:52:55 +08:00 committed by GitHub
parent b4c2b4f811
commit 9f1ce39bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
#include <sdk/integration/nrfx/nrfx_log.h>
#include <sdk/modules/nrfx/hal/nrf_gpio.h>
#include <nrfx_log.h>
#include <nrf_gpio.h>
#include <cstring>
#include "TwiMaster.h"
@ -137,4 +137,4 @@ void TwiMaster::Write(uint8_t deviceAddress, const uint8_t *data, size_t size, b
uint32_t error = twiBaseAddress->ERRORSRC;
twiBaseAddress->ERRORSRC = error;
}
}
}