mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-12-13 07:28:03 +00:00
Fixed compiler errors, untested due to lack of hardware
This commit is contained in:
@@ -51,7 +51,7 @@ namespace sta
|
||||
* @param buffer The buffer of data to write to the address
|
||||
* @param size The number of bytes to write to the peripheral.
|
||||
*/
|
||||
virtual bool writeMemory(uint8_t regAddr, const uint8_t * buffer, size_t size, uint32_t timeout = STA_MAX_TIMEOUT) = 0;
|
||||
virtual bool writeMemory(uint8_t regAddr, const uint8_t * buffer, size_t size, uint32_t timeout = STA_MAX_TIMEOUT);
|
||||
|
||||
/**
|
||||
* @brief Read incoming data to buffer.
|
||||
@@ -68,7 +68,7 @@ namespace sta
|
||||
* @param buffer The buffer of data to write the received data to.
|
||||
* @param size The number of bytes to receive from the peripheral.
|
||||
*/
|
||||
virtual bool readMemory(uint8_t regAddr, uint8_t * buffer, size_t size, uint32_t timeout = STA_MAX_TIMEOUT) = 0;
|
||||
virtual bool readMemory(uint8_t regAddr, uint8_t * buffer, size_t size, uint32_t timeout = STA_MAX_TIMEOUT);
|
||||
|
||||
/**
|
||||
* @brief Send byte value repeatedly.
|
||||
|
||||
Reference in New Issue
Block a user