summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-06-04 17:39:52 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-06-04 17:39:52 +0200
commit094c977b8877d652f629260cc753aacc7000e328 (patch)
tree96443f22bf31e93fd76b3dcef8c6ce57bddc5139 /src
parentd30e3fa68d7192da22c1569f56f564b92896170d (diff)
downloadradio-controller-094c977b8877d652f629260cc753aacc7000e328.tar.gz
radio-controller-094c977b8877d652f629260cc753aacc7000e328.tar.bz2
radio-controller-094c977b8877d652f629260cc753aacc7000e328.tar.xz
radio-controller-094c977b8877d652f629260cc753aacc7000e328.zip
o Daewoo -> Samsung.
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);