/ ! @brief Interrupt the current track with a new track. @param trackNum The track number to play. */ /
| 184 | */ |
| 185 | /**************************************************************************/ |
| 186 | void DFPlayerMini_Fast::playAdvertisement(uint16_t trackNum) |
| 187 | { |
| 188 | sendStack.commandValue = dfplayer::INSERT_ADVERT; |
| 189 | sendStack.feedbackValue = dfplayer::NO_FEEDBACK; |
| 190 | sendStack.paramMSB = (trackNum >> 8) & 0xFF; |
| 191 | sendStack.paramLSB = trackNum & 0xFF; |
| 192 | |
| 193 | findChecksum(sendStack); |
| 194 | sendData(); |
| 195 | } |
| 196 | |
| 197 | |
| 198 |
nothing calls this directly
no outgoing calls
no test coverage detected