Comments fix
This commit is contained in:
parent
ef03a9689e
commit
38d675b6d8
|
@ -1,5 +1,9 @@
|
|||
/**
|
||||
* @file swd-spi-tap.c
|
||||
* @author Sergey Gavrilov (who.just.the.doctor@gmail.com)
|
||||
* @version 1.0
|
||||
* @date 2021-11-25
|
||||
*
|
||||
* Does not work due to bug with switching 3-wire mode to RX.
|
||||
*
|
||||
* https://github.com/espressif/esp-idf/issues/7800
|
||||
|
|
|
@ -16,11 +16,9 @@ void __attribute__((always_inline)) platform_swdio_mode_float(void) {
|
|||
// gpio_set_direction(SWDIO_PIN, GPIO_MODE_INPUT);
|
||||
// gpio_set_pull_mode(SWDIO_PIN, GPIO_FLOATING);
|
||||
|
||||
// That doesn't work, only gods know why
|
||||
// Faster variant
|
||||
gpio_ll_output_disable(&GPIO, SWDIO_PIN);
|
||||
gpio_ll_input_enable(&GPIO, SWDIO_PIN);
|
||||
// gpio_ll_pullup_dis(&GPIO, SWDIO_PIN);
|
||||
// gpio_ll_pulldown_dis(&GPIO, SWDIO_PIN);
|
||||
}
|
||||
|
||||
void __attribute__((always_inline)) platform_swdio_mode_drive(void) {
|
||||
|
|
Loading…
Reference in New Issue