summaryrefslogtreecommitdiff
path: root/src/common/ipc.cpp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-08-05 20:17:56 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-08-05 20:17:56 -0300
commit0f22f0178cdfd27e2bac47388fb710023d9f4494 (patch)
tree2fa2626276e1c709676cacd1dc2529070b561045 /src/common/ipc.cpp
parentbebe98b46283bf21954f5f0a4923d3add45e4d5b (diff)
downloadjet-master.tar.gz
jet-master.zip
Fix line lengths not sent properlyHEADmaster
Diffstat (limited to 'src/common/ipc.cpp')
-rw-r--r--src/common/ipc.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/ipc.cpp b/src/common/ipc.cpp
index 261b31f..5ad809f 100644
--- a/src/common/ipc.cpp
+++ b/src/common/ipc.cpp
@@ -17,10 +17,6 @@ struct Message {
uint8_t data[MESSAGE_SIZE] = {};
int offset = 0;
- bool at_end() {
- return data[offset] == 0;
- }
-
void encode1(int8_t input) {
data[offset++] = input;
}