rpi: don't set the physical address to 1.0.0.0 when receiving VC_HDMI_UNPLUGGED....
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 7 Mar 2013 23:38:50 +0000 (00:38 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 7 Mar 2013 23:51:17 +0000 (00:51 +0100)
src/lib/adapter/RPi/RPiCECAdapterCommunication.cpp

index a68c0ec64227ec6aa6f318bc20ecb33e6baf50e0..76c61b3bb5a2fb922cf206cc7cbafd011d5c9c62 100644 (file)
@@ -118,17 +118,13 @@ void CRPiCECAdapterCommunication::OnTVServiceCallback(uint32_t reason, uint32_t
 {
   switch(reason)
   {
-  case VC_HDMI_UNPLUGGED:
-  {
-    m_callback->HandlePhysicalAddressChanged(0x1000);
-    break;
-  }
   case VC_HDMI_ATTACHED:
   {
     uint16_t iNewAddress = GetPhysicalAddress();
     m_callback->HandlePhysicalAddressChanged(iNewAddress);
     break;
   }
+  case VC_HDMI_UNPLUGGED:
   case VC_HDMI_DVI:
   case VC_HDMI_HDMI:
   case VC_HDMI_HDCP_UNAUTH: