Comments fix

This commit is contained in:
DrZlo13 2021-11-25 03:21:41 +10:00
parent ef03a9689e
commit 38d675b6d8
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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) {