Skip to content

Commit f7b6e23

Browse files
samples: Remove C99 comments in generated files
While we don't want to modify generated files, C99 comments generated hard failures in the Zephyr CI. Until the issue is fixed in upstream, we edit generated files to remove C99 comments. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent e5800b3 commit f7b6e23

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

samples/simple_txrx/src/rail-configs/sltb010a/rail_config.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ static const uint8_t hfxoRetimingConfigEntries[] = {
6868
static RAIL_ChannelConfigEntryAttr_t channelConfigEntryAttr = {
6969
#if RAIL_SUPPORTS_OFDM_PA
7070
{{0xFFFFFFFFUL}, {0xFFFFFFFFUL, 0xFFFFFFFFUL}}
71-
#else // RAIL_SUPPORTS_OFDM_PA
71+
#else
7272
{0xFFFFFFFFUL},
73-
#endif // RAIL_SUPPORTS_OFDM_PA
73+
#endif
7474
};
7575

7676
static const uint32_t phyInfo[] = {
7777
13UL,
78-
0x00924924UL, // 146.28571428571428
78+
0x00924924UL, /* 146.28571428571428 */
7979
(uint32_t)NULL,
8080
(uint32_t)irCalConfig,
8181
(uint32_t)timingConfig,
@@ -328,6 +328,6 @@ const RAIL_ChannelConfig_t Protocol_Configuration_channelConfig = {
328328
const RAIL_ChannelConfig_t *channelConfigs[] = {&Protocol_Configuration_channelConfig, NULL};
329329

330330
#ifdef RADIO_CONFIG_ENABLE_STACK_INFO
331-
#endif // RADIO_CONFIG_ENABLE_STACK_INFO
331+
#endif
332332

333333
uint32_t protocolAccelerationBuffer[303];

samples/simple_txrx/src/rail-configs/sltb010a/rail_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ extern uint32_t protocolAccelerationBuffer[];
4747
extern const RAIL_ChannelConfig_t *channelConfigs[];
4848

4949
#ifdef RADIO_CONFIG_ENABLE_STACK_INFO
50-
#endif // RADIO_CONFIG_ENABLE_STACK_INFO
50+
#endif
5151

52-
#endif // __RAIL_CONFIG_H__
52+
#endif

samples/simple_txrx/src/rail-configs/xg24_dk2601b/rail_config.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,21 @@ static RAIL_ChannelConfigEntryAttr_t channelConfigEntryAttr = {
7272
{ 0xFFFFFFFFUL, 0xFFFFFFFFUL, },
7373
#else
7474
{ 0xFFFFFFFFUL },
75-
#endif // RADIO_CONFIG_ENABLE_IRCAL_MULTIPLE_RF_PATHS
75+
#endif
7676
{ 0xFFFFFFFFUL, 0xFFFFFFFFUL }
7777
}
78-
#else // RAIL_SUPPORTS_OFDM_PA
78+
#else
7979
#ifdef RADIO_CONFIG_ENABLE_IRCAL_MULTIPLE_RF_PATHS
8080
{ 0xFFFFFFFFUL, 0xFFFFFFFFUL, },
8181
#else
8282
{ 0xFFFFFFFFUL },
83-
#endif // RADIO_CONFIG_ENABLE_IRCAL_MULTIPLE_RF_PATHS
84-
#endif // RAIL_SUPPORTS_OFDM_PA
83+
#endif
84+
#endif
8585
};
8686

8787
static const uint32_t phyInfo[] = {
8888
13UL,
89-
0x00444444UL, // 68.26666666666667
89+
0x00444444UL, /* 68.26666666666667 */
9090
(uint32_t) NULL,
9191
(uint32_t) irCalConfig,
9292
(uint32_t) timingConfig,
@@ -361,6 +361,6 @@ const RAIL_ChannelConfig_t *channelConfigs[] = {
361361

362362

363363
#ifdef RADIO_CONFIG_ENABLE_STACK_INFO
364-
#endif // RADIO_CONFIG_ENABLE_STACK_INFO
364+
#endif
365365

366366
uint32_t protocolAccelerationBuffer[435];

samples/simple_txrx/src/rail-configs/xg24_dk2601b/rail_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ extern uint32_t protocolAccelerationBuffer[];
4747
extern const RAIL_ChannelConfig_t *channelConfigs[];
4848

4949
#ifdef RADIO_CONFIG_ENABLE_STACK_INFO
50-
#endif // RADIO_CONFIG_ENABLE_STACK_INFO
50+
#endif
5151

52-
#endif // __RAIL_CONFIG_H__
52+
#endif

0 commit comments

Comments
 (0)