summaryrefslogtreecommitdiff
path: root/modules/io/examples/echo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io/examples/echo.hpp')
-rw-r--r--modules/io/examples/echo.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/io/examples/echo.hpp b/modules/io/examples/echo.hpp
index 2201457..4eb8084 100644
--- a/modules/io/examples/echo.hpp
+++ b/modules/io/examples/echo.hpp
@@ -3,6 +3,7 @@
struct message {
std::array<uint8_t, 256> data;
uint64_t already_read = 0;
+ uint64_t already_written = 0;
};
constexpr std::string_view message_content = "Hello! This is an echo msg.";