Revision ce12e797 test/periphery-lld/TPS6211x_v1/aos_test_TPS6211x.c

View differences:

test/periphery-lld/TPS6211x_v1/aos_test_TPS6211x.c
50 50
  aosDbgCheck(test->data != NULL && ((aos_test_tps6211xbdata_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
  tps6211x_lld_power_en_t power;
56 56

  
57
  aosTestResultInit(&result);
58

  
57 59
  chprintf(stream, "read pin...\n");
58 60
  status = tps6211x_lld_get_power_en(((aos_test_tps6211xbdata_t*)test->data)->driver, &power);
59 61
  if(status == APAL_STATUS_SUCCESS){

Also available in: Unified diff