/ ! @brief Specify volume gain. @param gain The specified volume gain. */ /
| 495 | */ |
| 496 | /**************************************************************************/ |
| 497 | void DFPlayerMini_Fast::volumeAdjustSet(uint8_t gain) |
| 498 | { |
| 499 | if (gain <= 31) |
| 500 | { |
| 501 | sendStack.commandValue = dfplayer::VOL_ADJ; |
| 502 | sendStack.feedbackValue = dfplayer::NO_FEEDBACK; |
| 503 | sendStack.paramMSB = 0; |
| 504 | sendStack.paramLSB = dfplayer::VOL_ADJUST + gain; |
| 505 | |
| 506 | findChecksum(sendStack); |
| 507 | sendData(); |
| 508 | } |
| 509 | } |
| 510 | |
| 511 | |
| 512 |
nothing calls this directly
no outgoing calls
no test coverage detected