Skip to content

Commit

Permalink
Move of APC functionality to its own file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cipulot committed Feb 23, 2023
1 parent d3187f1 commit 86beb95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifdef VIA_ENABLE
# include "ec_switch_matrix.h"
# include "quantum.h"
#include "ec_switch_matrix.h"
#include "quantum.h"

void apc_init_thresholds(void);
void apc_set_threshold(bool is_for_actuation);
Expand Down Expand Up @@ -154,4 +153,3 @@ void apc_set_threshold(bool is_for_actuation) {
// Update the ecsm_config
ecsm_update(&ecsm_config);
}
#endif
2 changes: 1 addition & 1 deletion keyboards/cipulot/ec_pro2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CUSTOM_MATRIX = lite
SRC += analog.c matrix.c ec_switch_matrix.c
SRC += analog.c apc.c matrix.c ec_switch_matrix.c

0 comments on commit 86beb95

Please sign in to comment.