@ -0,0 +1,5 @@
# Defines the Chromium style for automatic reformatting.
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 200
@ -0,0 +1,9 @@
{
"configurations": [
"name": "Win32",
"compileCommands": "./build/compile_commands.json"
}
],
"version": 4
@ -1,3 +1,2 @@
@ -9,14 +9,14 @@
#include <cstdlib>
#include <thread>
#include "esp_log.h"
#include "gpio_cxx.hpp"
using namespace idf;
using namespace std;
extern "C" void app_main(void)
extern "C" void app_main(void) {
/* The functions of GPIO_Output throws exceptions in case of parameter errors or if there are underlying driver
errors. */
try {