summaryrefslogtreecommitdiff
path: root/openpicc/application
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-18 18:40:55 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-18 18:40:55 +0000
commit8134c3aa7503615bc142ec177ec175952376a5e0 (patch)
tree4bce0ba16d4d9ec912ca05bed6f6135bfc51378a /openpicc/application
parent68e2814776615ac8b24be5b342016363040fc4e1 (diff)
Add new hardware revision, make it the default
git-svn-id: https://svn.openpcd.org:2342/trunk@471 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application')
-rw-r--r--openpicc/application/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index d9b0ad5..f4ae800 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -84,7 +84,7 @@ static inline int detect_board(void)
if(!pa18 && !pa31) {
//vLedInit();
//vLedHaltBlinking(1);
- result = OPENPICC_v0_4_p2;
+ result = OPENPICC_v0_4_karsten;
} else if(!pa18 && pa31) {
vLedInit();
vLedHaltBlinking(2);
@@ -95,7 +95,7 @@ static inline int detect_board(void)
pio->PIO_CODR = AT91C_PIO_PA31;
pa18 = AT91F_PIO_IsInputSet(pio, AT91C_PIO_PA18);
if(!pa18) {
- result = OPENPICC_v0_4_p2;
+ result = OPENPICC_v0_4_karsten;
} else {
vLedInit();
vLedHaltBlinking(3);
personal git repositories of Harald Welte. Your mileage may vary