Skip to content

Commit

Permalink
🐛 Fix AnyCubic Vyper ProcessPanelRequest
Browse files Browse the repository at this point in the history
Followup to #25405
  • Loading branch information
thinkyhead committed Mar 27, 2023
1 parent c2decc3 commit 4818dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/anycubic_vyper/dgus_tft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ namespace Anycubic {

if (0x83 == data_buf[0]) {
control_index = uint16_t(data_buf[1] << 8) | uint16_t(data_buf[2]);
if (control_index == KEY_ADDRESS) { // is KEY
if ((control_index & 0xF000) == KEY_ADDRESS) { // is KEY
//key_index = control_index;
key_value = (uint16_t(data_buf[4]) << 8) | uint16_t(data_buf[5]);
}
Expand Down

0 comments on commit 4818dad

Please sign in to comment.