Cleaner first pulse

This commit is contained in:
Raphael Coeffic
2022-03-24 10:40:17 +01:00
committed by Raphael Coeffic
parent 86d1ca4364
commit f09c10b49d
3 changed files with 13 additions and 6 deletions
-5
View File
@@ -35,11 +35,6 @@
void _send_1(uint8_t v)
{
if (extmodulePulsesData.dsm2.index & 1)
v += 2;
else
v -= 2;
*extmodulePulsesData.dsm2.ptr++ = v - 1;
extmodulePulsesData.dsm2.index += 1;
}