Skip to content

Commit

Permalink
WD1772: Enable motor on even if not requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkman committed Jan 22, 2023
1 parent b1abcb3 commit 5746886
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hdl/wd1772.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ begin
DRQ <= '0';
INTRQ <= '0';
ipcnt <= x"0";
if command(3) = '0' and motor_on = '0' then
if motor_on = '0' then
-- motor on (S7)
motor_on <= '1';
ipcnt <= x"6";
Expand Down Expand Up @@ -426,7 +426,7 @@ begin
DRQ <= '0';
INTRQ <= '0';
ipcnt <= x"0";
if command(3) = '0' and motor_on = '0' then
if motor_on = '0' then
-- enable spin-up sequence
motor_on <= '1'; -- motor on
ipcnt <= x"6";
Expand Down Expand Up @@ -713,7 +713,7 @@ begin
motor_on <= '1'; -- motor on
DRQ <= '0';
ipcnt <= x"0";
if command(3) = '0' and motor_on = '0' then
if motor_on = '0' then
-- enable spin-up sequence
ipcnt <= x"6";
end if;
Expand Down

0 comments on commit 5746886

Please sign in to comment.