summaryrefslogtreecommitdiff
path: root/src/components/motor/MotorController.h
diff options
context:
space:
mode:
authorjlukanc <27705324+jlukanc1@users.noreply.github.com>2021-01-23 15:15:42 -0500
committerjlukanc <27705324+jlukanc1@users.noreply.github.com>2021-01-23 15:15:42 -0500
commitbf7d77bd341de7360d7e4331ee088dc7a72620fc (patch)
tree77d1b6a49ca387dcbe583ec505bb099eb9fe91da /src/components/motor/MotorController.h
parentb5992fd7ec369d057ce4fe1b10bbc52ed4f6f988 (diff)
remove unneeded defines
Diffstat (limited to 'src/components/motor/MotorController.h')
-rw-r--r--src/components/motor/MotorController.h39
1 files changed, 1 insertions, 38 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index 63bc9580..01fe9304 100644
--- a/src/components/motor/MotorController.h
+++ b/src/components/motor/MotorController.h
@@ -10,45 +10,8 @@ namespace Pinetime {
public:
void Init();
void SetDuration(uint8_t motorDuration);
- #ifndef NRF_CLOCK_ENABLED
- #define NRF_CLOCK_ENABLED 1
- #endif
- #ifndef CLOCK_CONFIG_LF_SRC
- #define CLOCK_CONFIG_LF_SRC 1
- #endif
-
- #ifndef CLOCK_CONFIG_IRQ_PRIORITY
- #define CLOCK_CONFIG_IRQ_PRIORITY 6
- #endif
-
- #define APP_TIMER_ENABLED 1
- #define APP_TIMER_CONFIG_RTC_FREQUENCY 15 //2048hz
- #define APP_TIMER_CONFIG_IRQ_PRIORITY 6
-
- #ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE
- #define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
- #endif
-
- #ifndef APP_TIMER_CONFIG_USE_SCHEDULER
- #define APP_TIMER_CONFIG_USE_SCHEDULER 0
- #endif
-
- #ifndef APP_TIMER_KEEPS_RTC_ACTIVE
- #define APP_TIMER_KEEPS_RTC_ACTIVE 0
- #endif
-
- #ifndef APP_TIMER_SAFE_WINDOW_MS
- #define APP_TIMER_SAFE_WINDOW_MS 300000
- #endif
-
- #ifndef APP_TIMER_WITH_PROFILER
- #define APP_TIMER_WITH_PROFILER 0
- #endif
-
- #ifndef APP_TIMER_CONFIG_SWI_NUMBER
- #define APP_TIMER_CONFIG_SWI_NUMBER 0
- #endif
+ APP_TIMER_DEF(vibTimer);
private: