- init: align init/exit function names

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-12-26 00:34:00 +01:00
committed by Thilo Graf
parent 3da91b1463
commit 77d5cafd32
10 changed files with 20 additions and 20 deletions

View File

@@ -262,7 +262,7 @@ void stop_inmux_thread(void)
static bool initialized = false;
void init_td_api()
void hal_api_init()
{
if (!initialized)
hal_debug_init();
@@ -298,7 +298,7 @@ void init_td_api()
hal_info("%s end\n", __FUNCTION__);
}
void shutdown_td_api()
void hal_api_exit()
{
hal_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized);
if (initialized) {