summaryrefslogtreecommitdiff
path: root/src/drivers/SpiMaster.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2022-12-30 23:31:31 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-01-24 10:43:17 +0200
commita3e14c012d76fc8f7ad4c16ad9dc67e8995ce10e (patch)
treeefd8d89f0d222d5db30e3cbd193e6d5f6111795b /src/drivers/SpiMaster.h
parent8b0d888952bb3cfbf587ab20d5096f2e578a6107 (diff)
src: Enable unused parameter warning
Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
Diffstat (limited to 'src/drivers/SpiMaster.h')
-rw-r--r--src/drivers/SpiMaster.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/SpiMaster.h b/src/drivers/SpiMaster.h
index cba140a6..8b698c57 100644
--- a/src/drivers/SpiMaster.h
+++ b/src/drivers/SpiMaster.h
@@ -46,10 +46,7 @@ namespace Pinetime {
void SetupWorkaroundForFtpan58(NRF_SPIM_Type* spim, uint32_t ppi_channel, uint32_t gpiote_channel);
void DisableWorkaroundForFtpan58(NRF_SPIM_Type* spim, uint32_t ppi_channel, uint32_t gpiote_channel);
void PrepareTx(const volatile uint32_t bufferAddress, const volatile size_t size);
- void PrepareRx(const volatile uint32_t cmdAddress,
- const volatile size_t cmdSize,
- const volatile uint32_t bufferAddress,
- const volatile size_t size);
+ void PrepareRx(const volatile uint32_t bufferAddress, const volatile size_t size);
NRF_SPIM_Type* spiBaseAddress;
uint8_t pinCsn;