瀏覽代碼

'?' now prints version instead of help.

Thomas Buck 12 年之前
父節點
當前提交
0bfe145bc5
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      CubeFirmware/main.c
  2. 1
    1
      CubeFirmware/main.hex

+ 2
- 2
CubeFirmware/main.c 查看文件

@@ -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 查看文件

@@ -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

Loading…
取消
儲存