gotthard server: red in stopping server for debugging

This commit is contained in:
2018-02-26 17:34:35 +01:00
parent f67323d1cc
commit 74f327a959
4 changed files with 3 additions and 9 deletions

View File

@ -1537,12 +1537,8 @@ int startStateMachine(){
int stopStateMachine(){
//#ifdef VERBOSE
printf("*******Stopping State Machine*******\n");
cprintf(BG_RED,"*******Stopping State Machine*******\n");
//#endif
#ifdef SHAREDMEMORY
write_stop_sm(1);
write_status_sm("Stopped");
#endif
bus_w16(CONTROL_REG, STOP_ACQ_BIT);
bus_w16(CONTROL_REG, 0x0);
usleep(500);