Protocol init function modified

This commit is contained in:
Pascal Langer
2021-02-09 18:23:33 +01:00
parent d496f62719
commit 3b8b2ef376
87 changed files with 944 additions and 1565 deletions

View File

@@ -228,7 +228,7 @@ static uint8_t __attribute__((unused)) DSM_Check_RX_packet()
return result;
}
uint16_t ReadDsm()
uint16_t DSM_callback()
{
#define DSM_CH1_CH2_DELAY 4010 // Time between write of channel 1 and channel 2
#ifdef STM32_BOARD
@@ -449,7 +449,7 @@ uint16_t ReadDsm()
return 0;
}
uint16_t initDsm()
void DSM_init()
{
CYRF_GetMfgData(cyrfmfg_id);
//Model match
@@ -496,7 +496,6 @@ uint16_t initDsm()
}
else
phase = DSM_CHANSEL;//
return 10000;
}
#endif