aboutsummaryrefslogtreecommitdiff
path: root/c/arduino/arq.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/arduino/arq.c')
-rw-r--r--c/arduino/arq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/c/arduino/arq.c b/c/arduino/arq.c
index 9d4a08c..88b8412 100644
--- a/c/arduino/arq.c
+++ b/c/arduino/arq.c
@@ -58,8 +58,6 @@ static void process_event(arq* a, arq_event event, int16_t data_size, uint8_t* d
if (cmd == ACK && seq == a->last_sent_buffer[SEQ_INDEX]) {
a->event_handler(SEND_SUCCESS, a->last_sent_size - MESSAGE_OFFSET, &(a->last_sent_buffer[MESSAGE_OFFSET]));
- } else {
- a->event_handler(BAD_ACK, a->last_sent_size - MESSAGE_OFFSET, &(a->last_sent_buffer[MESSAGE_OFFSET]));
}
}