freemyipod r192 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r191‎ | r192 | r193 >
Date:18:28, 4 September 2010
Author:theseven
Status:new
Tags:
Comment:
Also add backlight_init to backlight.h
Modified paths:
  • /embios/trunk/backlight.h (modified) (history)

Diff [purge]

Index: embios/trunk/backlight.h
@@ -1,33 +1,34 @@
2 -//
3 -//
4 -// Copyright 2010 TheSeven
5 -//
6 -//
7 -// This file is part of emBIOS.
8 -//
9 -// emBIOS is free software: you can redistribute it and/or
10 -// modify it under the terms of the GNU General Public License as
11 -// published by the Free Software Foundation, either version 2 of the
12 -// License, or (at your option) any later version.
13 -//
14 -// emBIOS is distributed in the hope that it will be useful,
15 -// but WITHOUT ANY WARRANTY; without even the implied warranty of
16 -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 -// See the GNU General Public License for more details.
18 -//
19 -// You should have received a copy of the GNU General Public License along
20 -// with emBIOS. If not, see <http://www.gnu.org/licenses/>.
21 -//
22 -//
23 -
24 -
25 -#ifndef __BACKLIGHT_H__
26 -#define __BACKLIGHT_H__
27 -
28 -#include "global.h"
29 -
30 -void backlight_on(bool on);
31 -void backlight_set_fade(uint8_t fade);
32 -void backlight_set_brightness(uint8_t brightness);
33 -
34 -#endif
 2+//
 3+//
 4+// Copyright 2010 TheSeven
 5+//
 6+//
 7+// This file is part of emBIOS.
 8+//
 9+// emBIOS is free software: you can redistribute it and/or
 10+// modify it under the terms of the GNU General Public License as
 11+// published by the Free Software Foundation, either version 2 of the
 12+// License, or (at your option) any later version.
 13+//
 14+// emBIOS is distributed in the hope that it will be useful,
 15+// but WITHOUT ANY WARRANTY; without even the implied warranty of
 16+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 17+// See the GNU General Public License for more details.
 18+//
 19+// You should have received a copy of the GNU General Public License along
 20+// with emBIOS. If not, see <http://www.gnu.org/licenses/>.
 21+//
 22+//
 23+
 24+
 25+#ifndef __BACKLIGHT_H__
 26+#define __BACKLIGHT_H__
 27+
 28+#include "global.h"
 29+
 30+void backlight_init() INITCODE_ATTR;
 31+void backlight_on(bool on);
 32+void backlight_set_fade(uint8_t fade);
 33+void backlight_set_brightness(uint8_t brightness);
 34+
 35+#endif