We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49af25a commit e15e7f7Copy full SHA for e15e7f7
tests/validation/nvs/nvs.ino
@@ -1,6 +1,5 @@
1
#include <Arduino.h>
2
#include <Preferences.h>
3
-#include <unity.h>
4
5
6
struct TestData {
@@ -31,7 +30,9 @@ void validate_types() {
31
30
32
void setup() {
33
Serial.begin(115200);
34
- while (!Serial) {}
+ while (!Serial) {
+ ;
35
+ }
36
37
preferences.begin("my-app", false);
38
@@ -125,6 +126,7 @@ void setup() {
125
126
127
// Close the Preferences, wait and restart
128
preferences.end();
129
+ Serial.flush();
130
delay(1000);
131
ESP.restart();
132
}
0 commit comments