diff options
Diffstat (limited to 'tmk_core/common/backlight.h')
| -rw-r--r-- | tmk_core/common/backlight.h | 7 |
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 | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along 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); | |||
| 33 | void backlight_increase(void); | 32 | void backlight_increase(void); |
| 34 | void backlight_decrease(void); | 33 | void backlight_decrease(void); |
| 35 | void backlight_toggle(void); | 34 | void backlight_toggle(void); |
| 35 | void backlight_enable(void); | ||
| 36 | void backlight_disable(void); | ||
| 37 | bool is_backlight_enabled(void); | ||
| 36 | void backlight_step(void); | 38 | void backlight_step(void); |
| 37 | void backlight_set(uint8_t level); | 39 | void backlight_set(uint8_t level); |
| 38 | void backlight_level(uint8_t level); | 40 | void backlight_level(uint8_t level); |
| 39 | uint8_t get_backlight_level(void); | 41 | uint8_t get_backlight_level(void); |
| 40 | 42 | ||
| 41 | #endif | ||
