Skip to content

Commit b213ffb

Browse files
committed
Some minor cleanup
1 parent 0daeb34 commit b213ffb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/radio/rmt/Sequence.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace OpenShock::Rmt {
7373
m_size = 0;
7474
m_transmitEnd = 0;
7575
m_shockerId = 0;
76-
m_shockerModel = (ShockerModelType)0;
76+
m_shockerModel = static_cast<ShockerModelType>(0);
7777
}
7878

7979
rmt_data_t* m_data;

src/GatewayConnectionManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ bool StartConnectingToLCG()
262262
return false;
263263
}
264264

265-
OS_LOGD(TAG, "Connecting to LCG endpoint { host: '%s', port: %hu, path: '%s' } in country %s", response.data.host.c_str(), response.data.port, response.data.path.c_str(), response.data.country.c_str());
265+
OS_LOGI(TAG, "Connecting to LCG endpoint { host: '%s', port: %hu, path: '%s' } in country %s", response.data.host.c_str(), response.data.port, response.data.path.c_str(), response.data.country.c_str());
266266
s_wsClient->connect(response.data.host, response.data.port, response.data.path);
267267

268268
return true;

src/serialization/JsonAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ bool JsonAPI::ParseAssignLcgJsonResponse(int code, const cJSON* root, JsonAPI::A
245245
out = {};
246246

247247
out.host = host->valuestring;
248-
out.port = (uint16_t)portInt;
248+
out.port = static_cast<uint16_t>(portInt);
249249
out.path = path->valuestring;
250250
out.country = country->valuestring;
251251

0 commit comments

Comments
 (0)