Fix several compilation errors for -DDEBUG

After Adding "-DDEBUG" to the compiler options some files don't
compile any more.
Fix the compilation errors.
This commit is contained in:
Torsten Bögershausen
2021-09-01 11:13:40 +02:00
parent 7ce69155a9
commit 420fb45fbc
6 changed files with 12 additions and 18 deletions
+2 -2
View File
@@ -1174,7 +1174,7 @@ void db_event_flow_ctrl_mode_on (dbEventCtx ctx)
* notify the event handler task
*/
epicsEventSignal(evUser->ppendsem);
#ifdef DEBUG
#if defined(DEBUG) && defined(vxWorks)
printf("fc on %lu\n", tickGet());
#endif
}
@@ -1193,7 +1193,7 @@ void db_event_flow_ctrl_mode_off (dbEventCtx ctx)
* notify the event handler task
*/
epicsEventSignal (evUser->ppendsem);
#ifdef DEBUG
#if defined(DEBUG) && defined(vxWorks)
printf("fc off %lu\n", tickGet());
#endif
}