Skip to content

Commit

Permalink
lockout-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantse committed Feb 12, 2022
1 parent 251dd9a commit 23bee7a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lockout-turbo/cfg-emisar-d4v2.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Emisar D4 config options for Anduril
#include "../../bzr/anduril2/ToyKeeper/spaghetti-monster/anduril/cfg-emisar-d4v2.h"
4 changes: 4 additions & 0 deletions lockout-turbo/cfg-noctigon-kr4-nofet.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Noctigon KR4 (fetless) config options for Anduril
// (and Noctigon KR1)
// (and Emisar D4v2 E21A, a.k.a. "D4v2.5")
#include "../../bzr/anduril2/ToyKeeper/spaghetti-monster/anduril/cfg-noctigon-kr4-nofet.h"
16 changes: 16 additions & 0 deletions lockout-turbo/patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
=== modified file 'ToyKeeper/spaghetti-monster/anduril/lockout-mode.c'
--- ToyKeeper/spaghetti-monster/anduril/lockout-mode.c 2021-12-13 22:19:19 +0000
+++ ToyKeeper/spaghetti-monster/anduril/lockout-mode.c 2022-02-12 04:46:48 +0000
@@ -35,10 +35,7 @@
// click, hold: highest floor (or manual mem level)
uint8_t lvl = ramp_floors[0];
if ((event & 0x0f) == 2) { // second click
- if (ramp_floors[1] > lvl) lvl = ramp_floors[1];
- #ifdef USE_MANUAL_MEMORY
- if (manual_memory) lvl = manual_memory;
- #endif
+ lvl = MAX_LEVEL;
} else { // anything except second click
if (ramp_floors[1] < lvl) lvl = ramp_floors[1];
}

0 comments on commit 23bee7a

Please sign in to comment.