diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-09 14:53:39 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-05-11 23:14:29 +0200 |
commit | 6decaf83fc2b1e751876a76d72c4370b3b66a507 (patch) | |
tree | 5e8fc58672be037add2d33582c369e18c70cbf64 /minion/src/wifi_module.hpp | |
parent | bb6f2ce801e5c4ee617b27beaf30a746807384ea (diff) |
fix(minion): properly read request data length
Diffstat (limited to 'minion/src/wifi_module.hpp')
-rw-r--r-- | minion/src/wifi_module.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/minion/src/wifi_module.hpp b/minion/src/wifi_module.hpp index 5de898e..43999d6 100644 --- a/minion/src/wifi_module.hpp +++ b/minion/src/wifi_module.hpp @@ -115,5 +115,7 @@ private: */ auto _read(uint64_t timeout, char *response_out) noexcept -> ResponseStatus; + void _read_buffer(char *buffer_out, size_t length, char stop_char) noexcept; + auto _read_byte() noexcept -> char; }; |