Skip to content

Commit e98a88a

Browse files
authored
Merge pull request #19 from FaBjE/feature/esp32c6
Add clock source for ESP32-C6 types
2 parents e147627 + a29575d commit e98a88a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

OneWireESP32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ OneWire32::OneWire32(uint8_t pin){
7171

7272
const rmt_rx_channel_config_t rxconf = {
7373
.gpio_num = owpin,
74-
.clk_src = RMT_CLK_SRC_APB,
74+
.clk_src = RMT_CLK_SRC_DEFAULT,
7575
.resolution_hz = 1000000,
7676
.mem_block_symbols = MAX_BLOCKS
7777
};
@@ -82,7 +82,7 @@ OneWire32::OneWire32(uint8_t pin){
8282

8383
const rmt_tx_channel_config_t txconf = {
8484
.gpio_num = owpin,
85-
.clk_src = RMT_CLK_SRC_APB,
85+
.clk_src = RMT_CLK_SRC_DEFAULT,
8686
.resolution_hz = 1000000,
8787
.mem_block_symbols = MAX_BLOCKS,
8888
.trans_queue_depth = 4,

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=esp32-ds18b20
2-
version=2.0.1
2+
version=2.0.2
33
author=junkfix
44
maintainer=junkfix
55
sentence=Minimal, non-blocking, DS18B20 sensor library for ESP32 using RMT pheripheral, supports multiple sensors, lightweight, no dependencies, will need Arduino esp32 3.x based on IDF 5.X

0 commit comments

Comments
 (0)