Skip to content

Commit bb157c9

Browse files
committed
fix actions
1 parent eff447b commit bb157c9

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
.pioenvs
1+
.pio
22
.vscode
33
lib
4-
.vscode/.browse.c_cpp.db*
5-
.vscode/c_cpp_properties.json
6-
.vscode/launch.json
7-
platformio.ini
8-
.piolibdeps

scripts/platformio.ini

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
; PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; https://docs.platformio.org/page/projectconf.html
10+
11+
[env:lolin32]
12+
platform = espressif32
13+
board = esp32dev
14+
framework = arduino
15+
build_flags =
16+
-Wall

src/esp32DHT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void DHT::_readSensor(DHT* instance) {
111111
pinMode(instance->_pin, INPUT);
112112
rmt_rx_start(instance->_channel, 1);
113113
rmt_set_pin(instance->_channel, RMT_MODE_RX, static_cast<gpio_num_t>(instance->_pin)); // reset after using pin as output
114-
114+
115115
// blocks until data is available or timeouts after 1000
116116
rmt_item32_t* items = static_cast<rmt_item32_t*>(xRingbufferReceive(instance->_ringBuf, &rx_size, 1000));
117117
if (items) {

0 commit comments

Comments
 (0)