From ab62a3189cb6e43fe801faa07c75a9eb462bdf01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 15 Jun 2017 13:11:27 +0200 Subject: [PATCH] Remove configuration parser test data. --- right/src/main.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/right/src/main.c b/right/src/main.c index a801e6f..ce1b039 100644 --- a/right/src/main.c +++ b/right/src/main.c @@ -3,7 +3,6 @@ #include "init_peripherals.h" #include "usb_composite_device.h" #include "led_driver.h" -#include "config_parser/deserialize.h" #include "action.h" #include "slave_scheduler.h" #include "peripherals/test_led.h" @@ -38,16 +37,6 @@ key_matrix_t KeyMatrix = { uint8_t CurrentKeyStates[SLOT_COUNT][MAX_KEY_COUNT_PER_MODULE]; -static const uint8_t testData[] = - {0x03, 0x00, 0x01, 0x22, 0x02, 0x24, 0x02, 0x25, 0x02, 0x26, 0x02, 0x27, 0x02, 0x2d, 0x02, 0x2e, 0x02, 0x2a, 0x02, - 0x1c, 0x02, 0x18, 0x02, 0x0c, 0x02, 0x12, 0x04, 0x13, 0x22, 0x02, 0x2f, 0x02, 0x30, 0x02, 0x31, 0x02, 0x0b, 0x02, - 0x0d, 0x02, 0x0e, 0x02, 0x0f, 0x02, 0x33, 0x02, 0x34, 0x02, 0x28, 0x02, 0x11, 0x02, 0x10, 0x02, 0x36, 0x02, 0x37, - 0x02, 0x38, 0x0a, 0x03, 0x02, 0x2c, 0x02, 0x1c, 0x02, 0x1b, 0x02, 0x1a, 0x02, 0x14, 0x02, 0x1d, 0x01, 0x01, 0x1f, - 0x02, 0x35, 0x02, 0x1e, 0x02, 0x1f, 0x02, 0x20, 0x02, 0x21, 0x02, 0x22, 0x02, 0x23, 0x06, 0x29, 0x09, 0x02, 0x14, - 0x02, 0x1a, 0x02, 0x08, 0x02, 0x15, 0x02, 0x17, 0x02, 0x2b, 0x02, 0x04, 0x02, 0x16, 0x02, 0x07, 0x02, 0x09, 0x02, - 0x0a, 0x02, 0x2d, 0x02, 0x1d, 0x02, 0x1b, 0x02, 0x06, 0x02, 0x19, 0x02, 0x05, 0x02, 0x04, 0x02, 0x05, 0x02, 0x06, - 0x02, 0x07, 0x02, 0x08, 0x02, 0x09, 0x02, 0x02, 0x00 }; - void UpdateUsbReports() { if (!IsUsbBasicKeyboardReportSent) { @@ -87,8 +76,6 @@ void main() { UpdateUsbReports(); InitUsb(); - // deserialize_Layer(testData, 0); - while (1) { UpdateUsbReports(); asm("wfi");