mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(esp_stdio): Revert breaking change
- also revert the modification in the singature of uninstall function in all the concerned esp_driver* components and esp_stdio. - added proper documentation of the feature in the programming guide
This commit is contained in:
@@ -205,7 +205,7 @@ TEST_CASE("install/uninstall are no-ops with user primary", "[esp_stdio]")
|
||||
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_push_primary(h));
|
||||
|
||||
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_install_io_driver());
|
||||
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_uninstall_io_driver());
|
||||
esp_stdio_uninstall_io_driver();
|
||||
TEST_ASSERT_EQUAL(0, mock_a.open_count); /* driver not initialised by install */
|
||||
|
||||
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_pop_primary(NULL));
|
||||
|
||||
Reference in New Issue
Block a user