Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
b487617d3a | |||
b4b696c4dc |
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Tested on
|
## Tested on
|
||||||
|
|
||||||
1. ESP8266 RTOS_SDK v3.4
|
1. [ESP8266 RTOS_SDK v3.4](https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/index.html#)
|
||||||
2. ESP32 ESP-IDF v5.4
|
2. [ESP32 ESP-IDF v5.4](https://docs.espressif.com/projects/esp-idf/en/release-v5.4/esp32/index.html)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ char example[10] = {0};
|
|||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
esp_log_level_set("zh_vector", ESP_LOG_NONE);
|
esp_log_level_set("zh_vector", ESP_LOG_NONE); // For ESP8266 first enable "Component config -> Log output -> Enable log set level" via menuconfig.
|
||||||
zh_vector_init(&vector, sizeof(example));
|
zh_vector_init(&vector, sizeof(example));
|
||||||
printf("Initial vector size is: %d\n", zh_vector_get_size(&vector));
|
printf("Initial vector size is: %d\n", zh_vector_get_size(&vector));
|
||||||
strcpy(example, "Item 1");
|
strcpy(example, "Item 1");
|
||||||
|
Reference in New Issue
Block a user