Commit 5c13eea3894b3b9f6b256a0e29337d288cfd8690

Authored by Arkadiusz Materek
1 parent 60f5b56b

Clean up unused

src/dali/commands.hpp
@@ -165,8 +165,6 @@ enum class Command { @@ -165,8 +165,6 @@ enum class Command {
165 QUERY_RANDOM_ADDR_L = 196, 165 QUERY_RANDOM_ADDR_L = 196,
166 READ_MEMORY_LOCATION = 197, 166 READ_MEMORY_LOCATION = 197,
167 167
168 - QUERY_EXTENDED_VERSION_NUMBER = 255,  
169 -  
170 // Special commands 168 // Special commands
171 _SPECIAL_COMMAND = 1024, // not for use 169 _SPECIAL_COMMAND = 1024, // not for use
172 170
src/xmc1200/bccu.cpp
@@ -19,7 +19,6 @@ @@ -19,7 +19,6 @@
19 #define DIMMING_MAX 1023 19 #define DIMMING_MAX 1023
20 #define DIMMING_MAGIC_UP 20479 20 #define DIMMING_MAGIC_UP 20479
21 #define DIMMING_MAGIC_DOWN 20734 21 #define DIMMING_MAGIC_DOWN 20734
22 -#define DIMMING_MAGIC ((DIMMING_MAGIC_UP + DIMMING_MAGIC_DOWN) / 2)  
23 22
24 #define MSEC_PER_SEC 1000 23 #define MSEC_PER_SEC 1000
25 24
src/xmc1200/dali/bus_config.h
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 22
23 extern const XMC_UART_CH_CONFIG_t kDaliTxUARTConfig; 23 extern const XMC_UART_CH_CONFIG_t kDaliTxUARTConfig;
24 24
25 -// CCU4 configuration - used for DALI TX 25 +// CCU4 configuration - used for DALI RX
26 # define CCU40_SLICE CCU40_CC42 26 # define CCU40_SLICE CCU40_CC42
27 # define CCU40_SLICE_NUMBER 2 27 # define CCU40_SLICE_NUMBER 2
28 # define CCU40_SLICE_INPUT XMC_CCU4_SLICE_INPUT_C 28 # define CCU40_SLICE_INPUT XMC_CCU4_SLICE_INPUT_C
src/xmc1200/dali/timer.cpp
@@ -90,11 +90,6 @@ uint64_t Timer::getTimeMs() { @@ -90,11 +90,6 @@ uint64_t Timer::getTimeMs() {
90 } 90 }
91 91
92 // static 92 // static
93 -uint16_t Timer::freq() {  
94 - return TICKS_PER_SECOND;  
95 -}  
96 -  
97 -// static  
98 void Timer::runSlice() { 93 void Timer::runSlice() {
99 for (uint8_t i = 0; i < MAX_TASKS; ++i) { 94 for (uint8_t i = 0; i < MAX_TASKS; ++i) {
100 TaskInfo* taskInfo = &gTasks[i]; 95 TaskInfo* taskInfo = &gTasks[i];
src/xmc1200/dali/timer.hpp
@@ -28,7 +28,6 @@ public: @@ -28,7 +28,6 @@ public:
28 uint32_t randomize() override; 28 uint32_t randomize() override;
29 29
30 static uint64_t getTimeMs(); 30 static uint64_t getTimeMs();
31 - static uint16_t freq();  
32 static void runSlice(); 31 static void runSlice();
33 32
34 private: 33 private: