MouldKg update

This commit is contained in:
pascallanger
2025-03-20 17:28:33 +01:00
parent db5f1f8899
commit 889e01c7c6
3 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ static void __attribute__((unused)) MOULDKG_send_packet()
n += num_ch<<1;
for(uint8_t i=0;i<6;i++)
{
if(i > 3 && (sub_protocol == MOULDKG_ANALOG4 || i + n > 15))
if( (i > 3 && sub_protocol == MOULDKG_ANALOG4) || i + n > 15)
packet[i+4] = 0x80; //Centered channel
else
packet[i+4] = convert_channel_8b(ch[i]+n);

View File

@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_REVISION 4
#define VERSION_PATCH_LEVEL 47
#define VERSION_PATCH_LEVEL 48
#define MODE_SERIAL 0