Revision ce12e797 test/periphery-lld/PCAL6524_v1/aos_test_PCAL6524.c

View differences:

test/periphery-lld/PCAL6524_v1/aos_test_PCAL6524.c
52 52
  aosDbgCheck((test->data != NULL) && (((aos_test_pcal6524data_t*)test->data)->pcal6524d != NULL));
53 53

  
54 54
  // local variables
55
  aos_testresult_t result = {0, 0};
55
  aos_testresult_t result;
56 56
  int32_t status;
57 57
  uint8_t buffer[24];
58 58
  memset(buffer, 0xAA, sizeof(buffer));
59 59

  
60
  aosTestResultInit(&result);
61

  
60 62
// This test is currently not supported. See PCAL6524 driver implementation for further information.
61 63
//  chprintf(stream, "reading device ID...\n");
62 64
//  status = pcal6524_lld_read_id(((aos_test_pcal6524data_t*)test->data)->pcal6524d, buffer, ((aos_test_pcal6524data_t*)test->data)->timeout);

Also available in: Unified diff