File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
mbed_hal/minimum_requirements Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ static void minimum_data_test()
53
53
}
54
54
55
55
56
- utest::v1::status_t greentea_test_setup (const size_t number_of_cases)
56
+ utest::v1::status_t greentea_test_setup (const size_t number_of_cases)
57
57
{
58
58
GREENTEA_SETUP (30 , " default_auto" );
59
59
return greentea_test_setup_handler (number_of_cases);
@@ -66,6 +66,7 @@ Case cases[] = {
66
66
67
67
Specification specification (greentea_test_setup, cases, greentea_test_teardown_handler);
68
68
69
- int main () {
69
+ int main ()
70
+ {
70
71
Harness::run (specification);
71
72
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ void wifi_connect(void)
31
31
{
32
32
WiFiInterface *wifi = get_interface ();
33
33
34
- char ssid[SSID_MAX_LEN+ 1 ] = MBED_CONF_APP_WIFI_UNSECURE_SSID;
34
+ char ssid[SSID_MAX_LEN + 1 ] = MBED_CONF_APP_WIFI_UNSECURE_SSID;
35
35
36
36
TEST_ASSERT_EQUAL_INT (NSAPI_ERROR_OK, wifi->set_credentials (ssid, NULL ));
37
37
TEST_ASSERT_EQUAL_INT (NSAPI_ERROR_OK, wifi->connect ());
@@ -42,7 +42,7 @@ void wifi_connect(void)
42
42
TEST_ASSERT_EQUAL_INT (NSAPI_ERROR_OK, wifi->disconnect ());
43
43
44
44
// Driver is expected to cache the credentials
45
- memset (ssid, 0 , SSID_MAX_LEN+ 1 );
45
+ memset (ssid, 0 , SSID_MAX_LEN + 1 );
46
46
47
47
TEST_ASSERT_EQUAL_INT (NSAPI_ERROR_OK, wifi->connect ());
48
48
TEST_ASSERT_EQUAL_INT (NSAPI_ERROR_OK, wifi->disconnect ());
You can’t perform that action at this time.
0 commit comments