Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CyanLight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fxk8y
CyanLight
Commits
040f7211
Commit
040f7211
authored
2 years ago
by
fxk8y
Browse files
Options
Downloads
Patches
Plain Diff
Bugfixes
parent
3443598f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CLC-qthing/SiliconTorch/NVSExplorer.cpp
+10
-3
10 additions, 3 deletions
CLC-qthing/SiliconTorch/NVSExplorer.cpp
with
10 additions
and
3 deletions
CLC-qthing/SiliconTorch/NVSExplorer.cpp
+
10
−
3
View file @
040f7211
...
@@ -1030,7 +1030,7 @@ namespace SiliconTorch {
...
@@ -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………
// Lets first test & evaluate the other function before duplication………
...
@@ -1038,7 +1038,7 @@ namespace SiliconTorch {
...
@@ -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
;
u64
value
=
defaultValue
;
nvs_type_t
entryType
=
NVS_TYPE_ANY
;
nvs_type_t
entryType
=
NVS_TYPE_ANY
;
...
@@ -1084,7 +1084,14 @@ namespace SiliconTorch {
...
@@ -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
;
bool
result
=
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment