fix storage for csi
This commit is contained in:
parent
3d8d6bee80
commit
1461ff95bb
|
|
@ -21,12 +21,9 @@ static const esp_partition_t *s_csi_part = NULL;
|
|||
static size_t s_csi_offset = 0; // bytes written this run
|
||||
static uint32_t s_csi_seq = 0;
|
||||
|
||||
esp_err_t csi_log_init(void)
|
||||
{
|
||||
s_csi_part = esp_partition_find_first(
|
||||
ESP_PARTITION_TYPE_DATA,
|
||||
0x40, // subtype from partitions.csv
|
||||
"storage");
|
||||
esp_err_t csi_log_init(void) {
|
||||
s_csi_part = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, \
|
||||
ESP_PARTITION_SUBTYPE_DATA_SPIFFS, "storage");
|
||||
|
||||
if (!s_csi_part) {
|
||||
ESP_LOGE(TAG, "csi_log partition not found");
|
||||
|
|
|
|||
Loading…
Reference in New Issue