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
+1 -1
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