diff options
| author | mark9064 <30447455+mark9064@users.noreply.github.com> | 2024-04-18 18:54:07 +0100 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2024-05-01 16:13:47 +0200 |
| commit | 7a9211587aa17b23b9ff5121abc4f4eca63996d8 (patch) | |
| tree | 901d2ad75e59f34e65b06f67912ceb4811ff6463 /src/drivers/Spi.h | |
| parent | 24e6a2f8abab219868cb2eb6d02b3d83504c223c (diff) | |
Rename to pre-transaction hook
Diffstat (limited to 'src/drivers/Spi.h')
| -rw-r--r-- | src/drivers/Spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Spi.h b/src/drivers/Spi.h index e30620cc..0c5edf08 100644 --- a/src/drivers/Spi.h +++ b/src/drivers/Spi.h @@ -15,7 +15,7 @@ namespace Pinetime { Spi& operator=(Spi&&) = delete; bool Init(); - bool Write(const uint8_t* data, size_t size, const std::function<void()>& transactionHook); + bool Write(const uint8_t* data, size_t size, const std::function<void()>& preTransactionHook); bool Read(uint8_t* cmd, size_t cmdSize, uint8_t* data, size_t dataSize); bool WriteCmdAndBuffer(const uint8_t* cmd, size_t cmdSize, const uint8_t* data, size_t dataSize); void Sleep(); |
