From 827798b86ba4a33b84edf87c38656e94e87d7278 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 21:19:06 +0200 Subject: [PATCH] wip --- src/irmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irmc.c b/src/irmc.c index d0f06f8..5b98e1f 100644 --- a/src/irmc.c +++ b/src/irmc.c @@ -72,7 +72,7 @@ void txloop (void) tx_data_packet.n++; tx_data_packet.code[tx_data_packet.n - 1] = (int) ((key_press_t1 - key_release_t1) * -1); - tx_data_packet.status[tx_data_packet.n - 1] = "xXx"; + snprintf(tx_data_packet.status[tx_data_packet.n - 1], SIZE_STATUS, "xXx"); #ifdef DEBUG printf("space: %i\n", tx_data_packet.code[tx_data_packet.n -1]);