Abolished http2can.csv

This commit is contained in:
nopnop2002
2021-07-09 15:35:48 +09:00
parent aca2be1d88
commit ffc958e5b5
4 changed files with 16 additions and 93 deletions
-10
View File
@@ -74,8 +74,6 @@ QueueHandle_t xQueue_twai_tx;
TOPIC_t *publish;
int16_t npublish;
TOPIC_t *subscribe;
int16_t nsubscribe;
static void event_handler(void* arg, esp_event_base_t event_base,
int32_t event_id, void* event_data)
@@ -428,14 +426,6 @@ void app_main()
}
dump_table(publish, npublish);
// build subscribe table
ret = build_table(&subscribe, "/spiffs/http2can.csv", &nsubscribe);
if (ret != ESP_OK) {
ESP_LOGE(TAG, "build subscribe table fail");
while(1) { vTaskDelay(1); }
}
dump_table(subscribe, nsubscribe);
/* Get the local IP address */
tcpip_adapter_ip_info_t ip_info;
ESP_ERROR_CHECK(tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, &ip_info));