File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
src/kvstore/implementation Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313#include " nvs.h"
1414#include " nvs_flash.h"
1515
16+ using namespace std ;
17+
1618bool ESP32KVStore::begin (const char * name, bool readOnly, const char * partition_label) {
1719 if (_started){
1820 return false ;
Original file line number Diff line number Diff line change 1313#include < Arduino.h>
1414#include < string>
1515
16- using namespace std ;
17-
1816constexpr char DEFAULT_KVSTORE_NAME[] = " arduino" ;
1917
2018class ESP32KVStore : public KVStoreInterface {
Original file line number Diff line number Diff line change 1212
1313#include " Nina.h"
1414
15+ using namespace std ;
16+
1517bool NinaKVStore::begin (const char * name, bool readOnly, const char * partitionLabel) {
1618 WiFiDrv::wifiDriverInit ();
1719
Original file line number Diff line number Diff line change 1313
1414#include < WiFi.h>
1515
16- using namespace std ;
17-
1816const char DEFAULT_KVSTORE_NAME[] = " arduino" ;
1917
2018class NinaKVStore : public KVStoreInterface {
Original file line number Diff line number Diff line change 1111#if defined(ARDUINO_UNOR4_WIFI)
1212#include " UnoR4.h"
1313
14+ using namespace std ;
15+
1416bool Unor4KVStore::begin (const char * name, bool readOnly, const char * partitionLabel) {
1517 this ->name = name;
1618 string res = " " ;
Original file line number Diff line number Diff line change 1414#include < Modem.h>
1515#include < string>
1616
17- using namespace std ;
18-
1917constexpr char DEFAULT_KVSTORE_NAME[] = " arduino" ;
2018
2119class Unor4KVStore : public KVStoreInterface {
You can’t perform that action at this time.
0 commit comments