cec: fixed typo in CUSBCECAdapterCommands::RequestSettings() that prevented the setti...
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 18 Apr 2012 08:28:43 +0000 (10:28 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 18 Apr 2012 08:30:08 +0000 (10:30 +0200)
src/lib/adapter/USBCECAdapterCommands.cpp

index cea0561e7a44f9f9f6c96ea69825674a72d74429..543dbced8f23c93571b8910f94f466276ea4840d 100644 (file)
@@ -416,11 +416,12 @@ bool CUSBCECAdapterCommands::RequestSettings(void)
 {
   if (m_persistedConfiguration.iFirmwareVersion < 2)
   {
+    CLibCEC::AddLog(CEC_LOG_DEBUG, "%s - firmware version %d does not have any eeprom settings", __FUNCTION__, m_persistedConfiguration.iFirmwareVersion);
     // settings can only be persisted with firmware v2+
     return false;
   }
 
-  if (!m_bSettingsRetrieved)
+  if (m_bSettingsRetrieved)
     return true;
 
   bool bReturn(true);