diff options
author | tmk <tmk@users.noreply.github.com> | 2014-04-09 10:02:53 +0900 |
---|---|---|
committer | tmk <tmk@users.noreply.github.com> | 2014-04-09 10:02:53 +0900 |
commit | 894a387d1fd8c823b5339e524e1f9336601ce2ef (patch) | |
tree | 3d6f83a71ffe03a2855046de58ba7ae9095f0733 /common/backlight.h | |
parent | 5c63751790bca2d7e0c6f368bd446db8fe671848 (diff) | |
parent | 589d99b448e6085513799fbb183f6389d4df408d (diff) |
Merge pull request #110 from xauser/master
Enhanced Backlight Support
Diffstat (limited to 'common/backlight.h')
-rw-r--r-- | common/backlight.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/backlight.h b/common/backlight.h index 685c422ae9..525ec8bbef 100644 --- a/common/backlight.h +++ b/common/backlight.h @@ -24,18 +24,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. typedef union { uint8_t raw; struct { - bool enable:1; - uint8_t level:7; + bool enable :1; + uint8_t level :7; }; } backlight_config_t; void backlight_init(void); - void backlight_increase(void); void backlight_decrease(void); void backlight_toggle(void); void backlight_step(void); - void backlight_set(uint8_t level); +void backlight_level(uint8_t level); #endif |