Jungfrau server with changed ADC phase

This commit is contained in:
2014-12-19 14:28:41 +01:00
parent 94a73ecd45
commit 785f025d1b
7 changed files with 255 additions and 122 deletions

View File

@ -1886,7 +1886,7 @@ int get_run_status(int file_des) {
printf("-----------------------------------READ MACHINE BUSY--------------------------\n");
s=TRANSMITTING;
} else if (retval&ALL_FIFO_EMPTY_BIT) {
} else if (!(retval&ALL_FIFO_EMPTY_BIT)) {
printf("-----------------------------------DATA IN FIFO--------------------------\n");
s=TRANSMITTING;