Skip to content

Commit

Permalink
ALi: Suppress "Set multiple mode" message in non-debug mode
Browse files Browse the repository at this point in the history
Closes #69
  • Loading branch information
lenticularis39 committed Jul 21, 2021
1 parent 35bdcd3 commit cba974c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AliM1543C_ide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2155,8 +2155,10 @@ void CAliM1543C_ide::execute(int index) {
command_aborted(index, SEL_COMMAND(index).current_command);
} else {
SEL_PER_DRIVE(index).multiple_size = SEL_REGISTERS(index).sector_count;
#ifdef DEBUG_IDE_MULTIPLE
printf("Set multiple mode: sector_count = %d\n",
SEL_REGISTERS(index).sector_count);
#endif
SEL_STATUS(index).busy = false;
SEL_STATUS(index).drive_ready = true;
SEL_STATUS(index).fault = false;
Expand Down

0 comments on commit cba974c

Please sign in to comment.