updated led pin for roadkit
[tmk_keyboard.git] / keyboard / roadkit / backlight.c
index 026e95b16827c277ed36dc3c2b7e7125f7696bd9..d03f935a0f71219891e831356745eed86496aa1d 100644 (file)
@@ -20,11 +20,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 void backlight_set(uint8_t level) {
-    DDRB |= (1<<2);
+    DDRB |= (1<<5);
 
     if (level) { // Backlight on
-        PORTB |= (1<<2);
+        PORTB |= (1<<5);
     } else { // Backlight off
-        PORTB &= ~(1<<2);
+        PORTB &= ~(1<<5);
     }
 }
Imprint / Impressum