mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 04:52:18 +02:00
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:
@ -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();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
idf_component_register(SRCS "chat_client.cpp"
|
idf_component_register(SRCS "chat_client.cpp"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
idf_component_register(SRCS "chat_server.cpp"
|
idf_component_register(SRCS "chat_server.cpp"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
idf_component_register(SRCS "echo_server.cpp"
|
idf_component_register(SRCS "echo_server.cpp"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
idf_component_register(SRCS "udp_echo_server.cpp"
|
idf_component_register(SRCS "udp_echo_server.cpp"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user