Browse Source

Cosmetic: use symbolic constant STK_LEAVE_PROGMODE ('Q')

http://code.google.com/p/optiboot/issues/detail?id=55
Bill Westfield 13 years ago
parent
commit
f60b84ec59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      optiboot/bootloaders/optiboot/optiboot.c

+ 1 - 1
optiboot/bootloaders/optiboot/optiboot.c

@@ -538,7 +538,7 @@ int main(void) {
       putch(SIGNATURE_1);
       putch(SIGNATURE_2);
     }
-    else if (ch == 'Q') {
+    else if (ch == STK_LEAVE_PROGMODE) { /* 'Q' */
       // Adaboot no-wait mod
       watchdogConfig(WATCHDOG_16MS);
       verifySpace();