rcinput: fix build without nevis_ir.h

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2062 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2012-01-15 21:54:59 +00:00
parent 49f0128b47
commit fe1fcbe426
2 changed files with 12 additions and 0 deletions

View File

@@ -1528,6 +1528,8 @@ void CRCInput::play_click()
{
}
#ifdef HAVE_COOLSTREAM_NEVIS_IR_H
// hint: ir_protocol_t and other useful things are defined in nevis_ir.h
void CRCInput::set_rc_hw(ir_protocol_t ir_protocol, unsigned int ir_address)
{
@@ -1590,3 +1592,8 @@ void CRCInput::set_rc_hw(void)
set_rc_hw(ir_protocol, ir_address);
}
#else
void CRCInput::set_rc_hw(void)
{
}
#endif