Skip to content

Commit bbcd134

Browse files
authored
Merge pull request #82 from tk-king/patch-1
Fixed error in example code
2 parents b4a2123 + 4dbe8e9 commit bbcd134

File tree

1 file changed

+1
-1
lines changed
  • content/hardware/05.nicla/boards/nicla-sense-me/tutorials/cheat-sheet

1 file changed

+1
-1
lines changed

content/hardware/05.nicla/boards/nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Reading the sensor values:
343343

344344
```cpp
345345
void loop(){
346-
unsigned long lastCheck= millis();
346+
static auto lastCheck = millis();
347347

348348
// Update function should be continuously polled
349349
BHY2.update();

0 commit comments

Comments
 (0)