Merge pull request #2827 from Tilka/misc

USBGecko: don't needlessly call StringFromFormat()
This commit is contained in:
Pierre Bourdon 2015-08-10 12:52:11 +02:00
commit d2413cd3de
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)
{
case CMD_LED_OFF:
Core::DisplayMessage(StringFromFormat(
"USBGecko: No LEDs for you!"),
Core::DisplayMessage(
"USBGecko: No LEDs for you!",
3000);
break;
case CMD_LED_ON:
Core::DisplayMessage(StringFromFormat(
"USBGecko: A piercing blue light is now shining in your general direction"),
Core::DisplayMessage(
"USBGecko: A piercing blue light is now shining in your general direction",
3000);
break;