|
|
@@ -742,7 +742,7 @@ static uint8_t write_iic_flash = 0;
|
|
|
{
|
|
|
|
|
|
#if SUPPORT_DETECTION
|
|
|
- if((detection_value & 0x1) == 0)
|
|
|
+ if((detection_value & 0x2) == 0)
|
|
|
{
|
|
|
// for(int i = 0; i <RELAY_ChN_default / 2;i++)
|
|
|
// {
|
|
|
@@ -761,7 +761,7 @@ static uint8_t write_iic_flash = 0;
|
|
|
RL_Rx_state = 0xF0;
|
|
|
RL_Rx_state &= data;
|
|
|
}
|
|
|
- if((detection_value & 0x2) == 0)
|
|
|
+ if((detection_value & 0x1) == 0)
|
|
|
{
|
|
|
// for(int i = RELAY_ChN_default / 2; i <RELAY_ChN_default;i++)
|
|
|
// {
|