blob: 899c2891f5ab690a3ae31789626d193046041f6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* Copyright (C) 2026 Reiner Herrmann
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef CONFIG_H
#define CONFIG_H
#include <pebble.h>
enum BeatIndicator {
FLASHING = 0,
VIBRATION,
BEEP,
};
void config_init();
void config_deinit();
uint16_t config_get_bpm();
void config_set_bpm(uint16_t bpm);
uint8_t config_get_beats();
void config_set_beats(uint8_t beats);
uint8_t config_get_volume();
bool config_is_indicator_enabled(enum BeatIndicator);
#endif
|