Revision ce12e797 test/periphery-lld/AT42QT1050_v1/aos_test_AT42QT1050.c

View differences:

test/periphery-lld/AT42QT1050_v1/aos_test_AT42QT1050.c
191 191
    aosDbgCheck(test->data != NULL && ((aos_test_at42qt1050data_t*)test->data)->at42qt1050d != NULL);
192 192

  
193 193
    // local variables
194
    aos_testresult_t result = {0, 0};
194
    aos_testresult_t result;
195 195
    int32_t status;
196 196
    uint8_t test_8;
197 197
    bool error;
198 198

  
199
    aosTestResultInit(&result);
200

  
199 201
    chprintf(stream, "read register...\n");
200 202
    error = false;
201 203
    status = at42qt1050_lld_read_reg(((aos_test_at42qt1050data_t*)test->data)->at42qt1050d, AT42QT1050_LLD_REG_CHIPID, &test_8, ((aos_test_at42qt1050data_t*)test->data)->timeout);

Also available in: Unified diff