mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-10-03 18:18:47 -04:00
Changed log format for int32_t/uint32_t
This commit is contained in:
parent
de63804a3d
commit
9a7e992cff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user