aboutsummaryrefslogtreecommitdiff
path: root/quantum/sequencer/sequencer.h
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2022-11-28 07:54:00 +1100
committerNick Brassel <[email protected]>2022-11-28 07:54:00 +1100
commit4020674163fc80914059c4c9c3be5c0ae00bd150 (patch)
tree6f4187d72b04d03572adf507502afbda9726d696 /quantum/sequencer/sequencer.h
parent8f9b49dc5b05fd3421e47aa76822a5b2199dfca6 (diff)
parent9e78e65a566487b2f4fe7b663971a01deb6ddad2 (diff)
downloadqmk_firmware-0.19.0.tar.gz
qmk_firmware-0.19.0.zip
Merge remote-tracking branch 'upstream/develop'0.19.0
Diffstat (limited to 'quantum/sequencer/sequencer.h')
-rw-r--r--quantum/sequencer/sequencer.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/quantum/sequencer/sequencer.h b/quantum/sequencer/sequencer.h
index a8ea16eece..a6498ed413 100644
--- a/quantum/sequencer/sequencer.h
+++ b/quantum/sequencer/sequencer.h
@@ -17,8 +17,7 @@
#pragma once
#include <stdbool.h>
-#include "debug.h"
-#include "timer.h"
+#include <stdint.h>
// Maximum number of steps: 256
#ifndef SEQUENCER_STEPS
@@ -42,7 +41,18 @@
* Make sure that the items of this enumeration follow the powers of 2, separated by a ternary variant.
* Check the implementation of `get_step_duration` for further explanation.
*/
-typedef enum { SQ_RES_2, SQ_RES_2T, SQ_RES_4, SQ_RES_4T, SQ_RES_8, SQ_RES_8T, SQ_RES_16, SQ_RES_16T, SQ_RES_32, SEQUENCER_RESOLUTIONS } sequencer_resolution_t;
+typedef enum {
+ SQ_RES_2, //
+ SQ_RES_2T,
+ SQ_RES_4,
+ SQ_RES_4T,
+ SQ_RES_8,
+ SQ_RES_8T,
+ SQ_RES_16,
+ SQ_RES_16T,
+ SQ_RES_32,
+ SEQUENCER_RESOLUTIONS
+} sequencer_resolution_t;
typedef struct {
bool enabled;