mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
This commit is contained in:
@@ -63,20 +63,20 @@ class SlowInit
|
||||
{
|
||||
public:
|
||||
SlowInit(int arg) {
|
||||
ESP_LOGD(TAG, "init obj=%d start, arg=%d\n", obj, arg);
|
||||
ESP_LOGD(TAG, "init obj=%d start, arg=%d", obj, arg);
|
||||
vTaskDelay(300/portTICK_PERIOD_MS);
|
||||
TEST_ASSERT_EQUAL(-1, mInitBy);
|
||||
TEST_ASSERT_EQUAL(0, mInitCount);
|
||||
mInitBy = arg;
|
||||
++mInitCount;
|
||||
ESP_LOGD(TAG, "init obj=%d done\n", obj);
|
||||
ESP_LOGD(TAG, "init obj=%d done", obj);
|
||||
}
|
||||
|
||||
static void task(void* arg) {
|
||||
int taskId = reinterpret_cast<int>(arg);
|
||||
ESP_LOGD(TAG, "obj=%d before static init, task=%d\n", obj, taskId);
|
||||
ESP_LOGD(TAG, "obj=%d before static init, task=%d", obj, taskId);
|
||||
static SlowInit slowinit(taskId);
|
||||
ESP_LOGD(TAG, "obj=%d after static init, task=%d\n", obj, taskId);
|
||||
ESP_LOGD(TAG, "obj=%d after static init, task=%d", obj, taskId);
|
||||
xSemaphoreGive(s_slow_init_sem);
|
||||
vTaskDelete(NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user