summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radio-controller.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/radio-controller.cpp b/src/radio-controller.cpp
index 8d3149c..2c038ed 100644
--- a/src/radio-controller.cpp
+++ b/src/radio-controller.cpp
@@ -1,3 +1,6 @@
+#include "decoder.h"
+#include "samsung_decoder.h"
+
#include <usbd_cdc_if.h>
#include <cinttypes>
#include "radio-controller.h"
@@ -7,8 +10,6 @@
#include "mcu/stm32cube/debug.h"
#include "mcu/util.h"
#include "misc.h"
-#include "decoder.h"
-#include "daewoo_decoder.h"
using mcu::arm::mutex;
using namespace radio_controller;
@@ -233,7 +234,7 @@ void main_loop()
HAL_NVIC_DisableIRQ(TIM2_IRQn);
- daewoo_decoder d;
+ samsung_decoder d;
auto it = ir_buffer.iterator();
auto result = d.decode(&it);