Skip to content

Commit a9be2a8

Browse files
committed
Update MouldKg_nrf24l01.ino
1 parent 835facd commit a9be2a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Multiprotocol/MouldKg_nrf24l01.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ static void __attribute__((unused)) MOULDKG_send_packet()
5353
if(sub_protocol == MOULDKG_ANALOG)
5454
{
5555
packet[0] = 0x36;
56-
uint8_t ch[]={ 1,0,2,3 };
57-
for(uint8_t i=0;i<4;i++)
56+
uint8_t ch[]={ 1,0,2,3,4,5 };
57+
for(uint8_t i=0;i<6;i++)
5858
packet[i+4] = convert_channel_8b(ch[i]+n);
5959
len = MOULDKG_PAYLOAD_SIZE_ANALOG;
6060
}

0 commit comments

Comments
 (0)