Skip to content

Commit 8a80773

Browse files
Two #define errors fixed. (#848)
1 parent 962e9a8 commit 8a80773

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

props/saber_sabersense_buttons.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* V7/8-285.
1+
/* V7/8-286.
22
============================================================
33
================= SABERSENSE PROP FILE =================
44
================= by =================
@@ -958,7 +958,7 @@ bool Event2(enum BUTTON button, EVENT event, uint32_t modifiers) override {
958958
// Turn Blade OFF
959959
case EVENTID(BUTTON_POWER, EVENT_FIRST_HELD_MEDIUM, MODE_ON):
960960
if (!SaberBase::Lockup()) {
961-
#ifndef DISABLE_COLOR_CHANGE
961+
#ifndef SABERSENSE_NO_COLOR_CHANGE
962962
if (SaberBase::GetColorChangeMode() != SaberBase::COLOR_CHANGE_MODE_NONE) {
963963
// Just exit color change mode.
964964
// Don't turn saber off.
@@ -1165,7 +1165,7 @@ bool Event2(enum BUTTON button, EVENT event, uint32_t modifiers) override {
11651165
return true;
11661166
}
11671167

1168-
#if NUM_BUTTONS == 1 || defined(SABERSENSE_BLAST_MAIN_AND_AUX)
1168+
#if NUM_BUTTONS == 1 || defined(SABERSENSE_BLAST_PWR_AND_AUX)
11691169
// If NOT in color change mode and 1 button system (or 2 button with define) do blast.
11701170
swing_blast_ = false;
11711171
SaberBase::DoBlast();

0 commit comments

Comments
 (0)