use storage for partition not csi_log
This commit is contained in:
parent
e350cc2a80
commit
3d8d6bee80
|
|
@ -7,7 +7,7 @@
|
||||||
#include "esp_partition.h"
|
#include "esp_partition.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
static const char *TAG = "csi_log";
|
static const char *TAG = "storage";
|
||||||
|
|
||||||
typedef struct __attribute__((packed)) {
|
typedef struct __attribute__((packed)) {
|
||||||
uint32_t seq;
|
uint32_t seq;
|
||||||
|
|
@ -26,7 +26,7 @@ esp_err_t csi_log_init(void)
|
||||||
s_csi_part = esp_partition_find_first(
|
s_csi_part = esp_partition_find_first(
|
||||||
ESP_PARTITION_TYPE_DATA,
|
ESP_PARTITION_TYPE_DATA,
|
||||||
0x40, // subtype from partitions.csv
|
0x40, // subtype from partitions.csv
|
||||||
"csi_log");
|
"storage");
|
||||||
|
|
||||||
if (!s_csi_part) {
|
if (!s_csi_part) {
|
||||||
ESP_LOGE(TAG, "csi_log partition not found");
|
ESP_LOGE(TAG, "csi_log partition not found");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue