Skip to content

Commit 9c5fc92

Browse files
author
Jarkko Paso
committed
WS: Fixed code style
1 parent e48aa79 commit 9c5fc92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/6LoWPAN/ws/ws_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ int8_t ws_common_regulatory_domain_config(protocol_interface_info_entry_t *cur)
134134

135135

136136
phy_rf_channel_configuration_s rf_configs;
137-
rf_configs.channel_0_center_frequency = (uint32_t)cur->ws_info->hopping_schdule.ch0_freq*100000;
137+
rf_configs.channel_0_center_frequency = (uint32_t)cur->ws_info->hopping_schdule.ch0_freq * 100000;
138138
if (CHANNEL_SPACING_100 == cur->ws_info->hopping_schdule.channel_spacing) {
139139
rf_configs.channel_spacing = 100000;
140140
} else if (CHANNEL_SPACING_200 == cur->ws_info->hopping_schdule.channel_spacing) {
@@ -182,7 +182,7 @@ int8_t ws_common_regulatory_domain_config(protocol_interface_info_entry_t *cur)
182182
set_request.value_size = sizeof(phy_rf_channel_configuration_s);
183183
cur->mac_api->mlme_req(cur->mac_api, MLME_SET, &set_request);
184184
// Set Ack wait duration
185-
uint16_t ack_wait_symbols = WS_ACK_WAIT_SYMBOLS + (WS_TACK_MAX_MS*(rf_configs.datarate/1000));
185+
uint16_t ack_wait_symbols = WS_ACK_WAIT_SYMBOLS + (WS_TACK_MAX_MS * (rf_configs.datarate / 1000));
186186
set_request.attr = macAckWaitDuration;
187187
set_request.value_pointer = &ack_wait_symbols;
188188
set_request.value_size = sizeof(ack_wait_symbols);

0 commit comments

Comments
 (0)