3 Commits

Author SHA1 Message Date
bb0a99ac2b Updated zh_vector 2024-05-30 08:44:36 +03:00
e2078e46b1 Updated zh_espnow 2024-05-30 08:43:41 +03:00
4433e03320 Updated zh_config 2024-05-30 08:41:47 +03:00
8 changed files with 38 additions and 41 deletions

View File

@ -6,7 +6,7 @@ In an existing project, run the following command to install the component:
```text
cd ../your_project/components
git clone http://git.zh.com.ru/alexey.zholtikov/zh_config.git
git clone https://github.com/aZholtikov/zh_config.git
```
In the application, add the component:

View File

@ -44,9 +44,7 @@ extern "C"
*
* @note Before initialize ESP-NOW interface recommend initialize zh_espnow_init_config_t structure with default values.
*
* @code
* zh_espnow_init_config_t config = ZH_ESPNOW_INIT_CONFIG_DEFAULT()
* @endcode
* @code zh_espnow_init_config_t config = ZH_ESPNOW_INIT_CONFIG_DEFAULT() @endcode
*/
typedef struct
{
@ -85,7 +83,6 @@ extern "C"
* @brief Structure for sending data to the event handler when an ESP-NOW message was sent.
*
* @note Should be used with ZH_ESPNOW event base and ZH_ESPNOW_ON_SEND_EVENT event.
*
*/
typedef struct
{
@ -110,9 +107,7 @@ extern "C"
*
* @note Before initialize ESP-NOW interface recommend initialize zh_espnow_init_config_t structure with default values.
*
* @code
* zh_espnow_init_config_t config = ZH_ESPNOW_INIT_CONFIG_DEFAULT()
* @endcode
* @code zh_espnow_init_config_t config = ZH_ESPNOW_INIT_CONFIG_DEFAULT() @endcode
*
* @param[in] config Pointer to ESP-NOW initialized configuration structure. Can point to a temporary variable.
*

View File

@ -1 +1 @@
1.2.6
1.0.0

View File

@ -1,6 +1,7 @@
/**
* @file
* The main code of the zh_espnow component.
*
*/
#include "zh_espnow.h"

View File

@ -46,7 +46,7 @@ char example[10] = {0};
void app_main(void)
{
// esp_log_level_set("zh_vector", ESP_LOG_NONE);
esp_log_level_set("zh_vector", ESP_LOG_NONE);
zh_vector_init(&vector, sizeof(example), false);
printf("Initial vector size is: %d\n", zh_vector_get_size(&vector));
strcpy(example, "Item 1");

View File

@ -1 +1 @@
1.4.6
1.0.0

View File

@ -1,6 +1,7 @@
/**
* @file
* The main code of the zh_vector component.
*
*/
#include "zh_vector.h"