Skip to content

Commit

Permalink
Fixed declaration for NVS::erase_all() and WiFi NVS functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed May 21, 2024
1 parent cc052fa commit 1ec54e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rishka_syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ class RishkaSyscall final {
*/
class NVS final {
public:
static bool erase_all();
static bool erase_all(RishkaVM* vm);
static bool erase(RishkaVM* vm);

static bool set_i8(RishkaVM* vm);
Expand All @@ -503,9 +503,9 @@ class RishkaSyscall final {
static bool set_string(RishkaVM* vm);
static bool get_string(RishkaVM* vm);

static bool hasWiFiConfig();
static bool setWiFiSSID(RishkaVM* vm);
static bool setWiFiPasskey(RishkaVM* vm);
static bool has_wifi_config(RishkaVM* vm);
static bool set_wifi_ssid(RishkaVM* vm);
static bool set_wifi_passkey(RishkaVM* vm);
};

/**
Expand Down

0 comments on commit 1ec54e0

Please sign in to comment.