Fix unused function warning in main

* Add SD card test to fix warning