Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AOT Praktikum - Messstation
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Florian Heisler
AOT Praktikum - Messstation
Commits
b3b77240
Commit
b3b77240
authored
7 months ago
by
Ariyosena Sutandang
Browse files
Options
Downloads
Patches
Plain Diff
release 1.1
parent
312148bb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ESNS/data.ino
+8
-8
8 additions, 8 deletions
ESNS/data.ino
with
8 additions
and
8 deletions
ESNS/data.ino
+
8
−
8
View file @
b3b77240
...
...
@@ -184,14 +184,14 @@ void saveMeasurement(String measurement) {
char
filename
[
20
];
sprintf
(
filename
,
"%s_%02d.txt"
,
dateString
.
c_str
(),
id
);
if
(
!
SD
.
exists
(
String
(
id
).
c_str
()))
{
if
(
!
mkdirSD
(
String
(
id
)))
{
DEBUG_PRINTLN
(
"measure mkdir fail!"
);
return
;
}
else
{
DEBUG_PRINTLN
(
"measure mkdir success"
);
}
}
//
if (!SD.exists(String(id).c_str())) {
//
if (!mkdirSD(String(id))) {
//
DEBUG_PRINTLN("measure mkdir fail!");
//
return;
//
} else {
//
DEBUG_PRINTLN("measure mkdir success");
//
}
//
}
//String filePath = String(id) + "/" + filename;
...
...
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