DSM throttle kill: correct channel number

This commit is contained in:
Pascal Langer 2018-11-22 08:33:57 +01:00
parent d990ebe49e
commit 9261e8fe94
2 changed files with 2 additions and 2 deletions

View File

@ -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
}
#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
for (uint8_t i = 0; i < 7; i++)
{

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 19
#define VERSION_PATCH_LEVEL 20
//******************
// Protocols