Skip to content

Commit

Permalink
Increment MSP version to 1.45 (4.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored and daleckystepan committed Jun 27, 2022
1 parent 430db48 commit bd98598
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/msp/msp_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#define MSP_PROTOCOL_VERSION 0

#define API_VERSION_MAJOR 1 // increment when major changes are made
#define API_VERSION_MINOR 44 // increment after a release, to set the version for all changes to go into the following release (if no changes to MSP are made between the releases, this can be reverted before the release)
#define API_VERSION_MINOR 45 // increment after a release, to set the version for all changes to go into the following release (if no changes to MSP are made between the releases, this can be reverted before the release)

#define API_VERSION_LENGTH 2

Expand Down
4 changes: 2 additions & 2 deletions src/test/unit/rx_spi_expresslrs_telemetry_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ TEST(RxSpiExpressLrsTelemetryUnitTest, TestFlightMode)

TEST(RxSpiExpressLrsTelemetryUnitTest, TestMspVersionRequest)
{
uint8_t request[15] = {238,12,122,200,234,48,0,1,1,0,0,0,0,128, 0};
uint8_t response[12] = {200,10,123,234,200,48,3,1,0,1,44,42};
uint8_t request[15] = {238, 12, 122, 200, 234, 48, 0, 1, 1, 0, 0, 0, 0, 128, 0};
uint8_t response[12] = {200, 10, 123, 234, 200, 48, 3, 1, 0, API_VERSION_MAJOR, API_VERSION_MINOR, 255};
uint8_t data1[6] = {1, request[0], request[1], request[2], request[3], request[4]};
uint8_t data2[6] = {2, request[5], request[6], request[7], request[8], request[9]};
uint8_t data3[6] = {3, request[10], request[11], request[12], request[13], request[14]};
Expand Down

0 comments on commit bd98598

Please sign in to comment.