Skip to content

Commit 9dd033f

Browse files
authored
Merge pull request #7 from gpstar81/updates
small fix
2 parents 8146173 + 4026e0c commit 9dd033f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GPStarAudio.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ void gpstarAudio::update(void) {
149149
break;
150150

151151
case RSP_SYSTEM_INFO:
152+
// WT.
152153
numVoices = rxMessage[1];
153154
numTracks = rxMessage[3];
154155
numTracks = (numTracks << 8) + rxMessage[2];
@@ -488,7 +489,7 @@ void gpstarAudio::requestVersionString(void) {
488489
txbuf[0] = SOM1;
489490
txbuf[1] = SOM2;
490491
txbuf[2] = 0x05;
491-
txbuf[3] = CMD_GET_GPSTAR_HELLO;
492+
txbuf[3] = CMD_GET_VERSION;
492493
txbuf[4] = EOM;
493494
GPStarSerial->write(txbuf, 5);
494495
}

0 commit comments

Comments
 (0)