projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comments.
[bertos.git]
/
boards
/
arduino
/
hw
/
hw_led.h
diff --git
a/boards/arduino/hw/hw_led.h
b/boards/arduino/hw/hw_led.h
index d1ced6b48da18f2a90183d3b3d268df9734aa527..2bd46ee54874af121c789e4061e6deb1bbe082cd 100644
(file)
--- a/
boards/arduino/hw/hw_led.h
+++ b/
boards/arduino/hw/hw_led.h
@@
-38,10
+38,10
@@
#ifndef HW_LED_H
#define HW_LED_H
#ifndef HW_LED_H
#define HW_LED_H
-#define LED_ON() PORTG &= ~BV(PG4)
-#define LED_OFF() PORTG |= BV(PG4)
+#include <avr/io.h>
-/* set pin PG4 as out */
-#define LED_INIT() DDRG |= BV(PG4)
+#define LED_ON() PORTB |= BV(5)
+#define LED_OFF() PORTB &= ~BV(5)
+#define LED_INIT() DDRB |= BV(5)
#endif /* HW_LED_H */
#endif /* HW_LED_H */