| 1661 | U2fHidDevice g_u2f; |
| 1662 | |
| 1663 | void drawU2fStatusScreen() { |
| 1664 | tft.fillScreen(bruceConfig.bgColor); |
| 1665 | tft.setTextSize(2); |
| 1666 | tft.setTextColor(bruceConfig.priColor, bruceConfig.bgColor); |
| 1667 | tft.setCursor(6, 8); |
| 1668 | tft.print("USB U2F"); |
| 1669 | |
| 1670 | tft.setTextSize(1); |
| 1671 | tft.setCursor(6, 36); |
| 1672 | tft.print("Ready for registration/login"); |
| 1673 | tft.setCursor(6, 50); |
| 1674 | tft.print("Press center when prompted"); |
| 1675 | tft.setCursor(6, 64); |
| 1676 | tft.print("ESC: Back"); |
| 1677 | } |
| 1678 | |
| 1679 | void updateU2fRuntimeInfo(const U2fHidDevice &device) { |
| 1680 | tft.fillRect(0, 84, tftWidth, tftHeight - 84, bruceConfig.bgColor); |
no test coverage detected