From 040f72117fe8b8a6316de93df4be97de3ce7ac57 Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Wed, 1 Jun 2022 06:56:38 +0200 Subject: [PATCH] Bugfixes --- CLC-qthing/SiliconTorch/NVSExplorer.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CLC-qthing/SiliconTorch/NVSExplorer.cpp b/CLC-qthing/SiliconTorch/NVSExplorer.cpp index 86d87d3..c021efc 100644 --- a/CLC-qthing/SiliconTorch/NVSExplorer.cpp +++ b/CLC-qthing/SiliconTorch/NVSExplorer.cpp @@ -1030,7 +1030,7 @@ namespace SiliconTorch { } - i64 getSignedInt(const std::string& nameSpace, const std::string& key, i64 defaultValue) { + i64 NVSExplorer::getSignedInt(const std::string& nameSpace, const std::string& key, i64 defaultValue) { // Lets first test & evaluate the other function before duplication……… @@ -1038,7 +1038,7 @@ namespace SiliconTorch { } - u64 getUnsignedInt(const std::string& nameSpace, const std::string& key, u64 defaultValue) { + u64 NVSExplorer::getUnsignedInt(const std::string& nameSpace, const std::string& key, u64 defaultValue) { u64 value = defaultValue; nvs_type_t entryType = NVS_TYPE_ANY; @@ -1084,7 +1084,14 @@ namespace SiliconTorch { } - bool setUnsignedInt(const std::string& nameSpace, const std::string& key, u64 value, nvs_type_t entryType) { + bool NVSExplorer::setSignedInt(const std::string& nameSpace, const std::string& key, i64 value, nvs_type_t entryType) { + + // TODO: implementation! + + return false; + } + + bool NVSExplorer::setUnsignedInt(const std::string& nameSpace, const std::string& key, u64 value, nvs_type_t entryType) { bool result = false; -- GitLab