mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-w25qxxx.git
synced 2025-12-16 18:48:02 +00:00
cleanup in logger code
This commit is contained in:
@@ -58,12 +58,20 @@ namespace sta
|
||||
size_t capacity();
|
||||
|
||||
/**
|
||||
* @brief Allows reading a single data point from the segment.
|
||||
* @brief Get the ith element stored in the flash storage.
|
||||
*
|
||||
* @param idx The index of the segement.
|
||||
* @return T The read data value.
|
||||
* @param i The index of the element to read.
|
||||
* @return T The ith element stored in the flash storage.
|
||||
*/
|
||||
T operator[](std::size_t idx);
|
||||
T get(std::size_t i);
|
||||
|
||||
/**
|
||||
* @brief Get the ith element stored in the flash storage.
|
||||
*
|
||||
* @param i The index of the element to read.
|
||||
* @return T The ith element stored in the flash storage.
|
||||
*/
|
||||
T operator[](std::size_t i);
|
||||
private:
|
||||
void findLast();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user