File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,14 @@ bool gpstarAudio::currentTrackStatus(uint16_t trk) {
182
182
return false ;
183
183
}
184
184
185
+ bool gpstarAudio::trackCounterReset () {
186
+ return trackCounter;
187
+ }
188
+
189
+ void gpstarAudio::resetTrackCounter (bool bReset) {
190
+ trackCounter = bReset;
191
+ }
192
+
185
193
void gpstarAudio::trackPlayingStatus (uint16_t trk) {
186
194
uint8_t txbuf[7 ];
187
195
Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ class gpstarAudio
101
101
void setTriggerBank (uint8_t bank);
102
102
void trackPlayingStatus (uint16_t trk);
103
103
bool currentTrackStatus (uint16_t trk);
104
+ bool trackCounterReset (void );
105
+ void resetTrackCounter (bool bReset);
104
106
void serialFlush (void );
105
107
void requestVersionString (void );
106
108
void requestSystemInfo (void );
@@ -130,4 +132,5 @@ class gpstarAudio
130
132
bool gpsInfoRcvd;
131
133
uint16_t currentTrack;
132
134
bool b_currentTrackStatus;
135
+ bool trackCounter;
133
136
};
You can’t perform that action at this time.
0 commit comments