File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 318318
319319 // Used only by test setup on desk
320320 #ifdef ARDUINO_ARCH_ESP32
321+ #ifdef CONFIG_IDF_TARGET_ESP32S2
322+ #define IR_RECV_PIN GPIO_NUM_11 // IR receiver data pin
323+ #define IR_VCC GPIO_NUM_7
324+ #define IR_GND GPIO_NUM_5
325+ #else
321326 #define TEST_IR_RECV_PIN GPIO_NUM_23
322327 #define TEST_IR_VCC_TEST GPIO_NUM_18
323328 #define TEST_IR_GND GPIO_NUM_26 // TODO - also VanBus ANALYSER_PIN
329+ #endif
324330 #else
325331 #define TEST_IR_RECV_PIN D7
326332 #define TEST_IR_VCC_TEST D5
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ void SetupVanReceiver()
174174 VanBusRx.SetDropPolicy (VAN_PACKET_QUEUE_SIZE * 8 / 10 , &IsVeryImportantPacket);
175175 #endif
176176
177- // Define these as #defines so that the Serial.printf_P below shows the correct pin name on the console
177+ // Use #defines, not const int, so that the Serial.printf_P below shows the correct pin name on the console.
178178 #ifdef ARDUINO_ARCH_ESP32
179179 #ifdef CONFIG_IDF_TARGET_ESP32S2
180180 #define TX_PIN GPIO_NUM_18 // GPIO pin connected to VAN bus transceiver input
Original file line number Diff line number Diff line change @@ -297,5 +297,5 @@ void WifiCheckStatus()
297297 {
298298 Serial.print (F (" Wi-Fi DISconnected!\n " ));
299299 } // if
300- #endif // WIFI_AP_MODE
300+ #endif // WIFI_AP_MODE
301301} // WifiCheckStatus
You can’t perform that action at this time.
0 commit comments