From 63207d9cd589352da3898a33ee0fd88018735838 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 30 May 2019 21:46:25 +0200 Subject: [PATCH] Fix wrong comment in unit test --- app/tests/test_control_event_serialize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/test_control_event_serialize.c b/app/tests/test_control_event_serialize.c index b8590cba..0818ea50 100644 --- a/app/tests/test_control_event_serialize.c +++ b/app/tests/test_control_event_serialize.c @@ -39,7 +39,7 @@ static void test_serialize_text_event(void) { assert(size == 16); const unsigned char expected[] = { - 0x01, // CONTROL_EVENT_TYPE_KEYCODE + 0x01, // CONTROL_EVENT_TYPE_TEXT 0x00, 0x0d, // text length 'h', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '!', // text };