USBGecko: don't needlessly call StringFromFormat()

This commit is contained in:
Tillmann Karras 2015-08-10 12:33:49 +02:00
parent e297e3e666
commit 0e725c0860
1 changed files with 4 additions and 4 deletions

View File

@ -163,13 +163,13 @@ void CEXIGecko::ImmReadWrite(u32 &_uData, u32 _uSize)
switch (_uData >> 28) switch (_uData >> 28)
{ {
case CMD_LED_OFF: case CMD_LED_OFF:
Core::DisplayMessage(StringFromFormat( Core::DisplayMessage(
"USBGecko: No LEDs for you!"), "USBGecko: No LEDs for you!",
3000); 3000);
break; break;
case CMD_LED_ON: case CMD_LED_ON:
Core::DisplayMessage(StringFromFormat( Core::DisplayMessage(
"USBGecko: A piercing blue light is now shining in your general direction"), "USBGecko: A piercing blue light is now shining in your general direction",
3000); 3000);
break; break;