Skip to content

Commit 6b2511e

Browse files
restyled-commitswy-hh
authored andcommitted
Restyled by clang-format
1 parent 103327a commit 6b2511e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/contact-sensor-app/bouffalolab/bl702l/app_pds.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ extern "C" void vApplicationSleep(TickType_t xExpectedIdleTime)
5959
extern BaseType_t TrapNetCounter, *pTrapNetCounter;
6060
if (app_pds_wakeup_source == PDS_WAKEUP_BY_RTC)
6161
{
62-
6362
}
6463
else if (app_pds_wakeup_source == PDS_WAKEUP_BY_GPIO)
6564
{

src/platform/bouffalolab/BL702/NetworkCommissioningDriver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void BLWiFiDriver::OnScanWiFiNetworkDone(void * opaque)
266266
}
267267

268268
p->security.SetRaw(pmsg->records[i].auth_mode);
269-
strncpy((char *)p->ssid, (const char *)pmsg->records[i].ssid, kMaxWiFiSSIDLength);
269+
strncpy((char *) p->ssid, (const char *) pmsg->records[i].ssid, kMaxWiFiSSIDLength);
270270
p->ssidLen = strlen((char *) pmsg->records[i].ssid);
271271
p->channel = pmsg->records[i].channel;
272272
p->wiFiBand = chip::DeviceLayer::NetworkCommissioning::WiFiBand::k2g4;

0 commit comments

Comments
 (0)