Revision ce12e797 test/periphery-lld/PKxxxExxx_v1/aos_test_PKxxxExxx.c
test/periphery-lld/PKxxxExxx_v1/aos_test_PKxxxExxx.c | ||
---|---|---|
50 | 50 |
aosDbgCheck(test->data != NULL && ((aos_test_pkxxxexxxdata_t*)test->data)->driver != NULL); |
51 | 51 |
|
52 | 52 |
// local variables |
53 |
aos_testresult_t result = {0, 0};
|
|
53 |
aos_testresult_t result; |
|
54 | 54 |
int32_t status; |
55 | 55 |
|
56 |
aosTestResultInit(&result); |
|
57 |
|
|
56 | 58 |
chprintf(stream, "checking PWM configuration...\n"); |
57 | 59 |
status = pkxxxexxx_lld_checkPWMconfiguration(((aos_test_pkxxxexxxdata_t*)test->data)->driver); |
58 | 60 |
if (status == APAL_STATUS_OK) { |
Also available in: Unified diff