Skip to content

Commit

Permalink
Undo last fix (partially)
Browse files Browse the repository at this point in the history
Unfortunately there is still a situation where the LEDs flash in a wrong(mirrored) direction. This seems to be a hardware issue of the REV2 DGT eBoard and not picochess. Workaround: if you want to play white with black pieces in front of you (what seems kind of odd ;-) then FIRST play with black pieces one move restart new game and from then on it works correctly . This has nothing to do with picochess (you can reboot picochess and still still works until you switch off the Rev2).
  • Loading branch information
tosca07 authored Sep 20, 2024
1 parent d4ca4b0 commit 4490a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgt/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ def set_position_reverse_flipboard(self, flip_board, play_mode):
if self.menu_system_eboard_type != dgt.util.EBoard.DGT:
ModeInfo.set_flipped_board(flip_board)
else:
if (not self.flip_board) and (play_mode == PlayMode.USER_BLACK):
if (not flip_board) and (play_mode == PlayMode.USER_BLACK):
ModeInfo.set_flipped_board(flip_board)
self.res_position_reverse = self.flip_board = flip_board

Expand Down

0 comments on commit 4490a32

Please sign in to comment.