All pastes #295429 Raw Edit

Mine

public text v1 · immutable
#295429 ·published 2006-12-29 11:38 UTC
rendered paste body
--- diag.c.ori  2006-12-26 13:51:53.000000000 +0100
+++ diag.c      2006-12-29 10:55:30.641266928 +0100
@@ -334,7 +334,7 @@
        [SE505V2] = {
                .name           = "Siemens SE505 V2",
                .buttons        = {
-                       /* No usable buttons */
+                       { .name = "reset",      .gpio = 1 << 7 },
                },
                .leds           = {
                        { .name = "power",      .gpio = 1 << 5, .polarity = REVERSE },
@@ -532,6 +532,10 @@
                return &platforms[TEW411BRPP];
        }

+       if (!strcmp(boardtype, "0x0101")) {  /* Siemens SE505V2 */
+               return &platforms[SE505V2];
+       }
+
        /* not found */
        return NULL;
 }