Use shared memory space for game data (#14727)

This commit is contained in:
Marcio Teixeira
2019-07-28 00:44:16 -06:00
committed by Scott Lahteine
parent 17abb94532
commit fec52e61ea
11 changed files with 458 additions and 287 deletions

View File

@@ -30,6 +30,8 @@ int MarlinGame::score;
uint8_t MarlinGame::game_state;
millis_t MarlinGame::next_frame;
MarlinGameData marlin_game_data;
bool MarlinGame::game_frame() {
static int8_t slew;
if (ui.first_page) slew = 2;