Whitespace: Automated whitespace fixes (large commit)

Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)


* Original commit: espressif/esp-idf@66fb5a29bb
This commit is contained in:
Angus Gratton
2020-11-10 18:40:01 +11:00
committed by gabsuren
parent 4358c3ceab
commit 622a360e97
11 changed files with 16 additions and 17 deletions

View File

@ -30,7 +30,7 @@ namespace detail {
template <typename Exception> template <typename Exception>
void throw_exception(const Exception& e) void throw_exception(const Exception& e)
{ {
ESP_LOGE("esp32_asio_exception", "Caught exception: %s!", e.what()); ESP_LOGE("esp32_asio_exception", "Caught exception: %s!", e.what());
abort(); abort();
} }
}} }}

View File

@ -1,2 +1,2 @@
idf_component_register(SRCS "chat_client.cpp" idf_component_register(SRCS "chat_client.cpp"
INCLUDE_DIRS ".") INCLUDE_DIRS ".")

View File

@ -1,8 +1,8 @@
# #
# Main component makefile. # Main component makefile.
# #
# This Makefile can be left empty. By default, it will take the sources in the # This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a # src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable, # in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this. # please read the ESP-IDF documents if you need to do this.
# #

View File

@ -1,2 +1,2 @@
idf_component_register(SRCS "chat_server.cpp" idf_component_register(SRCS "chat_server.cpp"
INCLUDE_DIRS ".") INCLUDE_DIRS ".")

View File

@ -1,8 +1,8 @@
# #
# Main component makefile. # Main component makefile.
# #
# This Makefile can be left empty. By default, it will take the sources in the # This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a # src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable, # in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this. # please read the ESP-IDF documents if you need to do this.
# #

View File

@ -1,8 +1,8 @@
# #
# Main component makefile. # Main component makefile.
# #
# This Makefile can be left empty. By default, it will take the sources in the # This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a # src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable, # in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this. # please read the ESP-IDF documents if you need to do this.
# #

View File

@ -1,2 +1,2 @@
idf_component_register(SRCS "echo_server.cpp" idf_component_register(SRCS "echo_server.cpp"
INCLUDE_DIRS ".") INCLUDE_DIRS ".")

View File

@ -1,9 +1,8 @@
# #
# Main component makefile. # Main component makefile.
# #
# This Makefile can be left empty. By default, it will take the sources in the # This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a # src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable, # in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this. # please read the ESP-IDF documents if you need to do this.
# #

View File

@ -103,4 +103,4 @@ extern "C" void app_main(void)
server s(io_context, std::atoi(CONFIG_EXAMPLE_PORT)); server s(io_context, std::atoi(CONFIG_EXAMPLE_PORT));
io_context.run(); io_context.run();
} }

View File

@ -1,2 +1,2 @@
idf_component_register(SRCS "udp_echo_server.cpp" idf_component_register(SRCS "udp_echo_server.cpp"
INCLUDE_DIRS ".") INCLUDE_DIRS ".")

View File

@ -1,8 +1,8 @@
# #
# Main component makefile. # Main component makefile.
# #
# This Makefile can be left empty. By default, it will take the sources in the # This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a # src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable, # in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this. # please read the ESP-IDF documents if you need to do this.
# #