Permalink
Browse files

dont shutdown if already perforing the shutdown sequence

  • Loading branch information...
1 parent d061c04 commit 53132ebf6495093ce621f173a440bbaca0cfe89f @trun committed Apr 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 oled_spi.v
View
@@ -68,7 +68,7 @@ module oled_spi(
// SHUTDOWN
else if (shutdown) begin
- if (state >= 1 && state <= 5) begin
+ if (state > 0 && state < 10) begin
next_state <= SHUTDOWN_1;
end else begin
state <= SHUTDOWN_1;

0 comments on commit 53132eb

Please sign in to comment.