File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
current_sense/hardware_specific/esp32 Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
#define LOWPASS ( output, input, c_lowpass ) (output += (c_lowpass) * ((input) - (output)))
4
4
5
5
#ifndef SWAP_HILO
6
- #define SWAP_HILO = true // true for ESP32
6
+ #define SWAP_HILO true // true for ESP32
7
7
#endif
8
8
extern int ** trap_120_map;
9
9
extern int ** trap_150_map;
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ static void IRAM_ATTR mcpwm0_isr_handler(void*){
195
195
portEXIT_CRITICAL_ISR (&fpuInISRMutex);
196
196
197
197
#endif
198
- }
198
+
199
199
// low side
200
200
MCPWM0.int_clr .timer0_tep_int_clr = mcpwm_intr_status_low;
201
201
// high side
@@ -214,7 +214,7 @@ static void IRAM_ATTR mcpwm1_isr_handler(void*){
214
214
215
215
216
216
bool runadc = mcpwm_intr_status_high || mcpwm_intr_status_low;
217
-
217
+
218
218
if (runadc){
219
219
#if _I2S_ADC == true
220
220
readFiFo ();
@@ -248,7 +248,7 @@ static void IRAM_ATTR mcpwm1_isr_handler(void*){
248
248
portEXIT_CRITICAL_ISR (&fpuInISRMutex);
249
249
250
250
#endif
251
- }
251
+
252
252
// low side
253
253
MCPWM1.int_clr .timer0_tep_int_clr = mcpwm_intr_status_low;
254
254
// high side
You can’t perform that action at this time.
0 commit comments