1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 05:15:18 +03:00

Introduced definition HARDWARE_INTERNAL_MODULE to avoid testing the brand etc.

This commit is contained in:
Bertrand Songis 2019-03-20 17:36:29 +01:00
parent 4b393e48a0
commit f5c6c55ac5
8 changed files with 15 additions and 9 deletions

View file

@ -89,7 +89,7 @@ void sendSynchronousPulses()
{
for (uint8_t module = 0; module < NUM_MODULES; module++) {
if (isModuleSynchronous(module) && setupPulses(module)) {
#if defined(PCBHORUS) || defined(PCBTARANIS)
#if defined(HARDWARE_INTERNAL_MODULE)
if (module == INTERNAL_MODULE)
intmoduleSendNextFrame();
#endif