Revision ce12e797 test/periphery-lld/LTC4412_v1/aos_test_LTC4412.c
| test/periphery-lld/LTC4412_v1/aos_test_LTC4412.c | ||
|---|---|---|
| 50 | 50 |
aosDbgCheck(test->data != NULL && ((aos_test_ltc4412data_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, "read ctrl pin...\n"); |
| 57 | 59 |
ltc4412_lld_ctrl_t ctrl; |
| 58 | 60 |
status = ltc4412_lld_get_ctrl(((aos_test_ltc4412data_t*)test->data)->driver, &ctrl); |
Also available in: Unified diff