mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 09:45:59 -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 <stdio.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
@ -6,7 +7,6 @@
|
|||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
#include "ssd1306.h"
|
#include "ssd1306.h"
|
||||||
#include "font8x8_basic.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
You have to set this config value with menuconfig
|
You have to set this config value with menuconfig
|
||||||
@ -755,7 +755,7 @@ void app_main(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
TickType_t endTick = xTaskGetTickCount();
|
TickType_t endTick = xTaskGetTickCount();
|
||||||
ESP_LOGD(TAG, "diffTick=%d", endTick - startTick);
|
ESP_LOGD(TAG, "diffTick=%"PRIu32, endTick - startTick);
|
||||||
count--;
|
count--;
|
||||||
if (count<0) count = 9;
|
if (count<0) count = 9;
|
||||||
vTaskDelay(4);
|
vTaskDelay(4);
|
||||||
|
Loading…
Reference in New Issue
Block a user