mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:08:12 +00:00
DSM throttle kill: correct channel number
This commit is contained in:
parent
d990ebe49e
commit
9261e8fe94
@ -263,7 +263,7 @@ static void __attribute__((unused)) DSM_build_data_packet(uint8_t upper)
|
|||||||
bits=10; // Only DSM_22 is using a resolution of 1024
|
bits=10; // Only DSM_22 is using a resolution of 1024
|
||||||
}
|
}
|
||||||
#ifdef DSM_THROTTLE_KILL_CH
|
#ifdef DSM_THROTTLE_KILL_CH
|
||||||
uint32_t kill_ch=Channel_data[DSM_THROTTLE_KILL_CH];
|
uint32_t kill_ch=Channel_data[DSM_THROTTLE_KILL_CH-1];
|
||||||
#endif
|
#endif
|
||||||
for (uint8_t i = 0; i < 7; i++)
|
for (uint8_t i = 0; i < 7; i++)
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_PATCH_LEVEL 19
|
#define VERSION_PATCH_LEVEL 20
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
Loading…
x
Reference in New Issue
Block a user