/ ! @brief Determine if a track is currently playing. @return True if a track is currently playing, false if not, -1 if error. */ /
| 698 | */ |
| 699 | /**************************************************************************/ |
| 700 | bool DFPlayerMini_Fast::isPlaying() |
| 701 | { |
| 702 | int16_t result = query(dfplayer::GET_STATUS_); |
| 703 | |
| 704 | if (result != -1) |
| 705 | return (result & 1); |
| 706 | |
| 707 | return 0; |
| 708 | } |
| 709 | |
| 710 | |
| 711 |
nothing calls this directly
no outgoing calls
no test coverage detected