| 979 | } |
| 980 | |
| 981 | void drawWireguardStatus(int x, int y) { |
| 982 | tft.fillRect(x, y, 16, 16, bruceConfig.bgColor); |
| 983 | if (isConnectedWireguard) { |
| 984 | tft.drawRoundRect(x + 4, y + 2, 8, 8, 3, bruceConfig.priColor); |
| 985 | tft.fillRoundRect(x + 3, y + 7, 10, 7, 1, bruceConfig.priColor); |
| 986 | } else { |
| 987 | tft.drawRoundRect(x + 4, y + 2, 8, 8, 3, bruceConfig.priColor); |
| 988 | tft.drawRoundRect(x + 3, y + 7, 10, 7, 1, bruceConfig.priColor); |
| 989 | } |
| 990 | } |
| 991 | |
| 992 | /*************************************************************************************** |
| 993 | ** Function name: listFiles |
no test coverage detected