wip:
This commit is contained in:
1 parent
81a2eb04ac
commit
98fb08cd6f
4 files changed
+45
-44
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file zh_rf_gateway.h
|
||||
* @file zh_nrf24_gateway.h
|
||||
*
|
||||
* nRF24L01+ gateway for ESP-IDF.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "esp_err.h"
|
||||
#include "esp_event.h"
|
||||
#include "driver/spi_master.h"
|
||||
#include "zh_rf_config.h"
|
||||
#include "zh_nrf24_config.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -27,7 +27,7 @@ extern "C" {
|
||||
* @brief Event base for gateway events.
|
||||
*
|
||||
* Event data for ZH_NRF_GATEWAY_EVENT_SENSOR_DATA is a copy of
|
||||
* zh_rf_sensor_transmitted_data_t.
|
||||
* zh_nrf24_sensor_transmitted_data_t.
|
||||
*/
|
||||
ESP_EVENT_DECLARE_BASE(ZH_NRF_GATEWAY_EVENTS);
|
||||
|
||||
@@ -36,7 +36,7 @@ ESP_EVENT_DECLARE_BASE(ZH_NRF_GATEWAY_EVENTS);
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
/** Sensor telemetry received (data: zh_rf_sensor_transmitted_data_t) */
|
||||
/** Sensor telemetry received (data: zh_nrf24_sensor_transmitted_data_t) */
|
||||
ZH_NRF_GATEWAY_EVENT_SENSOR_DATA,
|
||||
} zh_nrf_gateway_event_t;
|
||||
|
||||
Reference in new issue
Block a user