Changed log format for int32_t/uint32_t

This commit is contained in:
nopnop2002 2022-11-19 07:54:25 +09:00
parent de63804a3d
commit 9a7e992cff

View File

@ -1,4 +1,5 @@
#include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
@ -6,7 +7,6 @@
#include "esp_log.h"
#include "ssd1306.h"
#include "font8x8_basic.h"
/*
You have to set this config value with menuconfig
@ -755,7 +755,7 @@ void app_main(void)
}
#endif
TickType_t endTick = xTaskGetTickCount();
ESP_LOGD(TAG, "diffTick=%d", endTick - startTick);
ESP_LOGD(TAG, "diffTick=%"PRIu32, endTick - startTick);
count--;
if (count<0) count = 9;
vTaskDelay(4);