Skip to content

Commit 98b4b7b

Browse files
authored
Merge pull request arduino#407 from bstbud/bf_crash_NiclaSystemlib
fix crash with some compilers due to missing return statement
2 parents 8e7e729 + ad6f6af commit 98b4b7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/Nicla_System/src/Nicla_System.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ bool nicla::begin()
3232
th.start(&nicla::pingI2CThd);
3333
#endif
3434
started = true;
35+
36+
return true;
3537
}
3638

3739
void nicla::enableCD()

0 commit comments

Comments
 (0)