Pārlūkot izejas kodu

'?' now prints version instead of help.

Thomas Buck 12 gadus atpakaļ
vecāks
revīzija
0bfe145bc5
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 2
    2
      CubeFirmware/main.c
  2. 1
    1
      CubeFirmware/main.hex

+ 2
- 2
CubeFirmware/main.c Parādīt failu

@@ -332,7 +332,7 @@ void serialHandler(char c) {
332 332
 		serialWrite(OK);
333 333
 		break;
334 334
 
335
-	case 'h': case 'H': case '?':
335
+	case 'h': case 'H':
336 336
 		serialWriteString(getString(6));
337 337
 		serialWriteString(getString(7));
338 338
 		serialWriteString(getString(8));
@@ -369,7 +369,7 @@ void serialHandler(char c) {
369 369
 		refreshAnimationCount = 1;
370 370
 		break;
371 371
 
372
-	case 'v': case 'V':
372
+	case 'v': case 'V': case '?':
373 373
 		serialWriteString(getString(0));
374 374
 		break;
375 375
 

+ 1
- 1
CubeFirmware/main.hex Parādīt failu

@@ -5,7 +5,7 @@
5 5
 :100040000C9482040C9482040C9482040C94820418
6 6
 :100050000C9482047B067D068406CA06FD06FD0616
7 7
 :10006000FD06FD06FD06FD06FD06FD06FD06FD0678
8
-:10007000FD067905FD06F7057705FA05AD05780655
8
+:10007000FD06CB05FD06F7057705FA05AD05780603
9 9
 :10008000B505C5057905F106FD06FD06FD06CD059C
10 10
 :10009000000727066006EC05F105C805F4051906FA
11 11
 :1000A000CB054D0655066306FD06FD06FD06FD065D

Notiek ielāde…
Atcelt
Saglabāt