Skip to content

Commit 7391526

Browse files
committed
use 250k baud for ESC
1 parent 7281b58 commit 7391526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sp140/esc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ bool setupTWAI() {
166166
(gpio_num_t)ESC_TX_PIN,
167167
(gpio_num_t)ESC_RX_PIN,
168168
TWAI_MODE_NORMAL);
169-
twai_timing_config_t t_config = TWAI_TIMING_CONFIG_1MBITS();
169+
twai_timing_config_t t_config = TWAI_TIMING_CONFIG_250KBITS();
170170
twai_filter_config_t f_config = TWAI_FILTER_CONFIG_ACCEPT_ALL();
171171

172172
esp_err_t install_err = twai_driver_install(&g_config, &t_config, &f_config);

0 commit comments

Comments
 (0)