--- a/accessoryservices/pluggeddisplay/pluggeddisplayengine/src/tvoutconfigforhdmi.cpp Fri Mar 19 09:58:42 2010 +0200
+++ b/accessoryservices/pluggeddisplay/pluggeddisplayengine/src/tvoutconfigforhdmi.cpp Fri Apr 16 16:18:45 2010 +0300
@@ -34,6 +34,11 @@
// CONSTANTS
// MACROS
+#define SEND_VIA_PDENGINE(event) \
+ ((CHDMICableStatusFSM*)&iFSM)->GetPDEngine()->Input( \
+ EPDEFSMIdHDMICableStatus, \
+ EPDEIfTVOutConfig, \
+ event )
// LOCAL CONSTANTS AND MACROS
@@ -435,9 +440,8 @@
}
else if ( iTvConfig->HdmiCableConnected() )
{
- iFSM.Input(
- EPDEIfTVOutConfig,
- EIfTVOutConfigEventCableConnected );
+ // Send connected event to FSM via PDEngine where the multiple connection(analog and hdmi) logic is handled.
+ SEND_VIA_PDENGINE(EIfTVOutConfigEventCableConnected);
}
else
{