Revision ce12e797 test/periphery-lld/TLC5947_v1/aos_test_TLC5947.c

View differences:

test/periphery-lld/TLC5947_v1/aos_test_TLC5947.c
60 60
  aosDbgCheck(test->data != NULL && ((aos_test_tlc5947data_t*)test->data)->driver != NULL);
61 61

  
62 62
  // local variables
63
  aos_testresult_t result = {0, 0};
63
  aos_testresult_t result;
64 64
  int32_t status;
65 65
  tlc5947_lld_blank_t blank;
66 66
  tlc5947_lld_buffer_t buffer;
67 67

  
68
  aosTestResultInit(&result);
69

  
68 70
  chprintf(stream, "reading blank pin...\n");
69 71
  status = tlc5947_lld_getBlank(((aos_test_tlc5947data_t*)test->data)->driver, &blank);
70 72
  if (status == APAL_STATUS_OK) {

Also available in: Unified diff