From 54138407ddadca134f8a64db59215a4367bef9ce Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Thu, 23 Aug 2018 23:16:39 +0200 Subject: [PATCH] Encapsulate MMU internal state. --- Firmware/mmu.cpp | 2 +- Firmware/mmu.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Firmware/mmu.cpp b/Firmware/mmu.cpp index a48ca36a..4db861de 100644 --- a/Firmware/mmu.cpp +++ b/Firmware/mmu.cpp @@ -28,7 +28,7 @@ bool mmu_enabled = false; bool mmu_ready = false; -int8_t mmu_state = 0; +static int8_t mmu_state = 0; uint8_t mmu_cmd = 0; diff --git a/Firmware/mmu.h b/Firmware/mmu.h index 763c15ea..63835ca8 100644 --- a/Firmware/mmu.h +++ b/Firmware/mmu.h @@ -5,8 +5,6 @@ extern bool mmu_enabled; -extern int8_t mmu_state; - extern uint8_t mmu_extruder; extern uint8_t tmp_extruder;