** Function name: ToggleSDCard ** Description: Turn Off or On the SDCard, return sdcardMounted state ***************************************************************************************/
| 118 | ** Description: Turn Off or On the SDCard, return sdcardMounted state |
| 119 | ***************************************************************************************/ |
| 120 | bool ToggleSDCard() { |
| 121 | if (sdcardMounted == true) { |
| 122 | closeSdCard(); |
| 123 | sdcardMounted = false; |
| 124 | return false; |
| 125 | } else { |
| 126 | sdcardMounted = setupSdCard(); |
| 127 | return sdcardMounted; |
| 128 | } |
| 129 | } |
| 130 | /*************************************************************************************** |
| 131 | ** Function name: deleteFromSd |
| 132 | ** Description: delete file or folder |
nothing calls this directly
no test coverage detected