| 38 | static char* VIDEO_PATH = nullptr; |
| 39 | |
| 40 | const char* getConfigBasePath() { |
| 41 | const auto platform_debug = OHDPlatform::instance(); |
| 42 | if (platform_debug.is_rock()) { |
| 43 | return "/config/openhd/"; |
| 44 | } else if (platform_debug.is_x20()) { |
| 45 | return "/config/openhd/"; |
| 46 | } else { |
| 47 | return "/boot/openhd/"; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | const char* getVideoPath() { |
| 52 | static std::string cachedPath; |
no test coverage detected