Update PeripheryManager.cpp
This commit is contained in:
@@ -99,7 +99,7 @@ void left_button_pressed()
|
|||||||
|
|
||||||
if (AP_MODE)
|
if (AP_MODE)
|
||||||
{
|
{
|
||||||
#ifndef ULANZI
|
#ifdef AWTRIX_UPGRADE
|
||||||
--MATRIX_LAYOUT;
|
--MATRIX_LAYOUT;
|
||||||
if (MATRIX_LAYOUT < 0)
|
if (MATRIX_LAYOUT < 0)
|
||||||
MATRIX_LAYOUT = 2;
|
MATRIX_LAYOUT = 2;
|
||||||
@@ -121,7 +121,7 @@ void right_button_pressed()
|
|||||||
#endif
|
#endif
|
||||||
if (AP_MODE)
|
if (AP_MODE)
|
||||||
{
|
{
|
||||||
#ifndef ULANZI
|
#ifdef AWTRIX_UPGRADE
|
||||||
++MATRIX_LAYOUT;
|
++MATRIX_LAYOUT;
|
||||||
if (MATRIX_LAYOUT > 2)
|
if (MATRIX_LAYOUT > 2)
|
||||||
MATRIX_LAYOUT = 0;
|
MATRIX_LAYOUT = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user