Ghost support (#7900)
This commit is contained in:
@@ -48,6 +48,7 @@ if (PCB STREQUAL X10)
|
||||
option(INTERNAL_MODULE_PXX2 "Support for PXX2 internal module" ON)
|
||||
set(BLUETOOTH ON)
|
||||
add_definitions(-DHARDWARE_POWER_MANAGEMENT_UNIT)
|
||||
add_definitions(-DRADIO_X10E)
|
||||
elseif (PCBREV STREQUAL T16)
|
||||
set(FLAVOUR t16)
|
||||
set(LUA_EXPORT lua_export_t16)
|
||||
|
||||
@@ -368,6 +368,12 @@ void extmoduleSendNextFrame()
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if defined(GHOST)
|
||||
case PROTOCOL_CHANNELS_GHOST:
|
||||
sportSendBuffer(extmodulePulsesData.ghost.pulses, extmodulePulsesData.ghost.length);
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
EXTMODULE_TIMER->DIER |= TIM_DIER_CC2IE;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user