Skip to content

Commit

Permalink
CIMXCECAdapterCommunication: Add (dummy-)implementations for SetAutoM…
Browse files Browse the repository at this point in the history
…ode() and GetStats()
  • Loading branch information
warped-rudi committed Apr 5, 2020
1 parent e4b08f3 commit bb7cab7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libcec/adapter/IMX/IMXCECAdapterCommunication.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ namespace CEC
bool IsRunningLatestFirmware(void) { return true; }
bool PersistConfiguration(const libcec_configuration & UNUSED(configuration)) { return false; }
bool GetConfiguration(libcec_configuration & UNUSED(configuration)) { return false; }
bool SetAutoMode(bool UNUSED(automode)) { return false; }
std::string GetPortName(void) { return std::string("IMX"); }
uint16_t GetPhysicalAddress(void);
bool SetControlledMode(bool UNUSED(controlled)) { return true; }
Expand All @@ -85,7 +86,7 @@ namespace CEC
uint16_t GetAdapterProductId(void) const { return IMX_ADAPTER_PID; }
void HandleLogicalAddressLost(cec_logical_address UNUSED(oldAddress));
void SetActiveSource(bool UNUSED(bSetTo), bool UNUSED(bClientUnregistered)) {}
bool RegisterLogicalAddress(const cec_logical_address address);
bool GetStats(struct cec_adapter_stats* UNUSED(stats)) { return false; }
///}

/** @name P8PLATFORM::CThread implementation */
Expand All @@ -96,6 +97,7 @@ namespace CEC
private:
bool IsInitialised(void) const { return m_bInitialised; };
bool UnregisterLogicalAddress(void);
bool RegisterLogicalAddress(const cec_logical_address address);

std::string m_strError; /**< current error message */

Expand Down

0 comments on commit bb7cab7

Please sign in to comment.