Revision ce12e797 test/periphery-lld/A3906_v1/aos_test_A3906.c
test/periphery-lld/A3906_v1/aos_test_A3906.c | ||
---|---|---|
215 | 215 |
|
216 | 216 |
|
217 | 217 |
// local variables |
218 |
aos_testresult_t result = {0, 0};
|
|
218 |
aos_testresult_t result; |
|
219 | 219 |
int32_t status; |
220 | 220 |
a3906_lld_power_t power_state; |
221 | 221 |
apalQEICount_t qei_count[2][2]; |
222 | 222 |
uint32_t timeout_counter; |
223 | 223 |
uint32_t stable_counter; |
224 | 224 |
|
225 |
aosTestResultInit(&result); |
|
226 |
|
|
225 | 227 |
chprintf(stream, "enable power...\n"); |
226 | 228 |
power_state = A3906_LLD_POWER_ON; |
227 | 229 |
status = a3906_lld_set_power(((aos_test_a3906data_t*)test->data)->driver, power_state); |
Also available in: Unified diff