Revision ce12e797 test/periphery-lld/LED_v1/aos_test_LED.c
test/periphery-lld/LED_v1/aos_test_LED.c | ||
---|---|---|
58 | 58 |
aosDbgCheck(test->data != NULL && ((aos_test_leddata_t*)test->data)->led != NULL); |
59 | 59 |
|
60 | 60 |
// local variables |
61 |
aos_testresult_t result = {0, 0};
|
|
61 |
aos_testresult_t result; |
|
62 | 62 |
int32_t status; |
63 | 63 |
|
64 |
aosTestResultInit(&result); |
|
65 |
|
|
64 | 66 |
chprintf(stream, "lighting up for two seconds...\n"); |
65 | 67 |
led_lld_state_t state = LED_LLD_STATE_ON; |
66 | 68 |
status = led_lld_set(((aos_test_leddata_t*)test->data)->led, state); |
Also available in: Unified diff