mmu: FINDA disabled by damaged/disconnected PAT9125 hotfix
This commit is contained in:
parent
18eb9ad69e
commit
74a7341005
|
|
@ -200,6 +200,7 @@ void pciSetup(byte pin)
|
||||||
void fsensor_autoload_check_start(void)
|
void fsensor_autoload_check_start(void)
|
||||||
{
|
{
|
||||||
// puts_P(_N("fsensor_autoload_check_start\n"));
|
// puts_P(_N("fsensor_autoload_check_start\n"));
|
||||||
|
if (mmu_enabled) return;
|
||||||
if (!fsensor_enabled) return;
|
if (!fsensor_enabled) return;
|
||||||
if (!fsensor_autoload_enabled) return;
|
if (!fsensor_autoload_enabled) return;
|
||||||
if (fsensor_watch_autoload) return;
|
if (fsensor_watch_autoload) return;
|
||||||
|
|
@ -238,6 +239,7 @@ void fsensor_autoload_check_stop(void)
|
||||||
|
|
||||||
bool fsensor_check_autoload(void)
|
bool fsensor_check_autoload(void)
|
||||||
{
|
{
|
||||||
|
if (mmu_enabled) return false;
|
||||||
if (!fsensor_enabled) return false;
|
if (!fsensor_enabled) return false;
|
||||||
if (!fsensor_autoload_enabled) return false;
|
if (!fsensor_autoload_enabled) return false;
|
||||||
if (!fsensor_watch_autoload)
|
if (!fsensor_watch_autoload)
|
||||||
|
|
@ -362,6 +364,7 @@ bool fsensor_oq_result(void)
|
||||||
|
|
||||||
ISR(FSENSOR_INT_PIN_VECT)
|
ISR(FSENSOR_INT_PIN_VECT)
|
||||||
{
|
{
|
||||||
|
if (mmu_enabled) return;
|
||||||
if (!((fsensor_int_pin_old ^ FSENSOR_INT_PIN_PIN_REG) & FSENSOR_INT_PIN_MASK)) return;
|
if (!((fsensor_int_pin_old ^ FSENSOR_INT_PIN_PIN_REG) & FSENSOR_INT_PIN_MASK)) return;
|
||||||
fsensor_int_pin_old = FSENSOR_INT_PIN_PIN_REG;
|
fsensor_int_pin_old = FSENSOR_INT_PIN_PIN_REG;
|
||||||
static bool _lock = false;
|
static bool _lock = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue