|
@@ -37,7 +37,7 @@ void show_channel_staus(uint8_t status)
|
|
|
{
|
|
{
|
|
|
for(int i = 0; i < 8;i++)
|
|
for(int i = 0; i < 8;i++)
|
|
|
{
|
|
{
|
|
|
- if((status >> i) & 0x01)
|
|
|
|
|
|
|
+ if((status >> (7-i)) & 0x01)
|
|
|
{
|
|
{
|
|
|
gpio_bit_set(GPIOD,CHANNEL_DATA);
|
|
gpio_bit_set(GPIOD,CHANNEL_DATA);
|
|
|
}else
|
|
}else
|