Skip to content
Snippets Groups Projects
Commit bb381e22 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Fix left-shift warning

parent 0d7736d6
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ void GcodeSuite::M7219() {
}
else if (parser.seen('D')) {
const uint8_t uline = parser.value_byte() & 0x7,
line = uline + parser.byteval('U') << 3;
line = uline + (parser.byteval('U') << 3);
if (line < MAX7219_LINES) {
max7219.led_line[line] = v;
return max7219.refresh_line(line);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment