Skip to content

Commit

Permalink
Fix gcc-12 build failure
Browse files Browse the repository at this point in the history
Fix #60
  • Loading branch information
hefloryd committed Feb 9, 2024
1 parent e203bea commit a0e054e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_sdo_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ TEST_F (SdoServerTest, SegmentedTimeout)

TEST_F (SdoServerTest, BadSubIndex)
{
const co_obj_t obj = {0, OTYPE_NULL, 0, NULL, NULL};
static const co_obj_t obj = {0, OTYPE_NULL, 0, NULL, NULL};
uint8_t expected[][8] = {
{0x80, 0x00, 0x10, 0x01, 0x11, 0x00, 0x09, 0x06},
};
Expand Down

0 comments on commit a0e054e

Please sign in to comment.