examples/cxx: add missing header

This commit is contained in:
Anton Maklakov
2022-01-26 13:33:14 +07:00
parent 40d189137e
commit 9386014201
3 changed files with 9 additions and 16 deletions

View File

@@ -1,19 +1,12 @@
// Copyright 2021 Espressif Systems (Shanghai) CO LTD /*
// * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
// Licensed under the Apache License, Version 2.0 (the "License"); *
// you may not use this file except in compliance with the License. * SPDX-License-Identifier: Apache-2.0
// You may obtain a copy of the License at */
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <string> #include <string>
#include <algorithm> #include <algorithm>
#include <stdexcept>
#include "mqtt_client.h" #include "mqtt_client.h"
#include "esp_log.h" #include "esp_log.h"

View File

@@ -1,7 +1,7 @@
/* /*
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
* *
* SPDX-License-Identifier: CC0 * SPDX-License-Identifier: CC0-1.0
* *
* MPU9250 SPI Sensor C++ Example * MPU9250 SPI Sensor C++ Example
* *
@@ -13,6 +13,7 @@
*/ */
#include <iostream> #include <iostream>
#include <thread>
#include "spi_host_cxx.hpp" #include "spi_host_cxx.hpp"
using namespace std; using namespace std;

View File

@@ -2054,7 +2054,6 @@ examples/cxx/experimental/esp_event_cxx/main/esp_event_cxx_example.cpp
examples/cxx/experimental/esp_modem_cxx/main/simple_client.cpp examples/cxx/experimental/esp_modem_cxx/main/simple_client.cpp
examples/cxx/experimental/esp_modem_cxx/main/simple_mqtt_client.cpp examples/cxx/experimental/esp_modem_cxx/main/simple_mqtt_client.cpp
examples/cxx/experimental/esp_modem_cxx/main/simple_mqtt_client.hpp examples/cxx/experimental/esp_modem_cxx/main/simple_mqtt_client.hpp
examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/esp_mqtt_cxx.cpp
examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/include/esp_mqtt.hpp examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/include/esp_mqtt.hpp
examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/include/esp_mqtt_client_config.hpp examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/include/esp_mqtt_client_config.hpp
examples/cxx/experimental/esp_mqtt_cxx/ssl/main/mqtt_ssl_example.cpp examples/cxx/experimental/esp_mqtt_cxx/ssl/main/mqtt_ssl_example.cpp