Revision a193bcf1 unittests/periphery-lld/src/ut_alld_LTC4412_v1.c

View differences:

unittests/periphery-lld/src/ut_alld_LTC4412_v1.c
53 53
  aos_utresult_t result = {0,0};
54 54
  uint32_t status;
55 55

  
56
  chprintf(stream, "read ctrl pin... \n");
56
  chprintf(stream, "read ctrl pin...\n");
57 57
  ltc4412_lld_ctrl_t ctrl;
58 58
  status = ltc4412_lld_get_ctrl((LTC4412Driver*)ut->data, &ctrl);
59 59
  if(status == APAL_STATUS_SUCCESS){
......
62 62
    aosUtFailedMsg(stream, &result, "0x%08X\n", status);
63 63
  }
64 64

  
65
  chprintf(stream, "write ctrl pin... \n");
65
  chprintf(stream, "write ctrl pin...\n");
66 66
  status = ltc4412_lld_set_ctrl((LTC4412Driver*)ut->data, LTC4412_LLD_CTRL_ACTIVE);
67 67
  status |= ltc4412_lld_get_ctrl((LTC4412Driver*)ut->data, &ctrl);
68 68
  if (status == APAL_STATUS_SUCCESS && ctrl == LTC4412_LLD_CTRL_ACTIVE) {
......
71 71
    aosUtFailedMsg(stream, &result, "0x%08X\n", status);
72 72
  }
73 73

  
74
  chprintf(stream, "read stat pin... \n");
74
  chprintf(stream, "read stat pin...\n");
75 75
  ltc4412_lld_stat_t stat;
76 76
  status = ltc4412_lld_get_stat((LTC4412Driver*)ut->data, &stat);
77 77
  if(status == APAL_STATUS_SUCCESS){

Also available in: Unified diff