diff options
author | Bad Diode <bd@badd10de.dev> | 2024-02-01 19:09:51 +0100 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-02-01 19:09:51 +0100 |
commit | 8cc0da2ca7ba0cb3e44deea8eb031a36d96f7c72 (patch) | |
tree | 5ab6a644ee8654d5ea9a1c4139c9c613e921b061 /src/profiling.c | |
parent | e475e43918fc200fea3951093223273ee2fb3761 (diff) | |
download | stepper-8cc0da2ca7ba0cb3e44deea8eb031a36d96f7c72.tar.gz stepper-8cc0da2ca7ba0cb3e44deea8eb031a36d96f7c72.zip |
Fix some issues with sync and added more modes
Diffstat (limited to 'src/profiling.c')
-rw-r--r-- | src/profiling.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/profiling.c b/src/profiling.c index 713e2b3..cc58694 100644 --- a/src/profiling.c +++ b/src/profiling.c | |||
@@ -139,9 +139,7 @@ u8 prof_detail_level = 2; | |||
139 | // No profiling. | 139 | // No profiling. |
140 | #define PROF_INIT() | 140 | #define PROF_INIT() |
141 | #define PROF(F,VAR) do {F;} while(0) | 141 | #define PROF(F,VAR) do {F;} while(0) |
142 | #define FRAME_START() do { \ | 142 | #define FRAME_START() |
143 | profile_start();\ | ||
144 | } while(0) | ||
145 | #define FRAME_END() | 143 | #define FRAME_END() |
146 | #define PROF_SHOW() | 144 | #define PROF_SHOW() |
147 | #define PROF_DETAIL(N) | 145 | #define PROF_DETAIL(N) |