From 1ec54e026702fa6115161aa58d0eccd671b3c4b3 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Tue, 21 May 2024 23:21:09 +0800 Subject: [PATCH] Fixed declaration for NVS::erase_all() and WiFi NVS functions. --- src/rishka_syscalls.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rishka_syscalls.h b/src/rishka_syscalls.h index 8e52d2e..31cb7c9 100644 --- a/src/rishka_syscalls.h +++ b/src/rishka_syscalls.h @@ -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); @@ -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); }; /**