Skip to content

Commit 851d162

Browse files
committed
empty main for debugging added
1 parent eeb1d01 commit 851d162

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

flash/main.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <cstdint>
2+
3+
#include "flash_os.hpp"
4+
5+
int main() {
6+
// flag to mark if we want to run the test code
7+
constexpr static bool debug = false;
8+
9+
// check if we want to run the debug code
10+
if constexpr (!debug) {
11+
// we do not want to run the debug code exit
12+
return 0;
13+
}
14+
15+
// TODO: add a example here to test the flash algorithm
16+
17+
return 0;
18+
};

0 commit comments

Comments
 (0)