aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/backlight.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/backlight.h')
-rw-r--r--tmk_core/common/backlight.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmk_core/common/backlight.h b/tmk_core/common/backlight.h
index f57309267..420c9d19e 100644
--- a/tmk_core/common/backlight.h
+++ b/tmk_core/common/backlight.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef BACKLIGHT_H 18#pragma once
19#define BACKLIGHT_H
20 19
21#include <stdint.h> 20#include <stdint.h>
22#include <stdbool.h> 21#include <stdbool.h>
@@ -33,9 +32,11 @@ void backlight_init(void);
33void backlight_increase(void); 32void backlight_increase(void);
34void backlight_decrease(void); 33void backlight_decrease(void);
35void backlight_toggle(void); 34void backlight_toggle(void);
35void backlight_enable(void);
36void backlight_disable(void);
37bool is_backlight_enabled(void);
36void backlight_step(void); 38void backlight_step(void);
37void backlight_set(uint8_t level); 39void backlight_set(uint8_t level);
38void backlight_level(uint8_t level); 40void backlight_level(uint8_t level);
39uint8_t get_backlight_level(void); 41uint8_t get_backlight_level(void);
40 42
41#endif