remove traces fron inside the library

parent 8d35c043
......@@ -124,8 +124,6 @@ int oau_att_set_relay (int fd, int channel, enum oau_att_value_enum val)
{
struct oau_context *ctx = &oau_contexts[ fd ];
fprintf(stderr, "att_set_delay fd %d chan %d val %d\n", fd, channel, val);
if(channel < 1 || channel > OAU_NUM_CHANNELS)
return -EINVAL;
......@@ -150,19 +148,13 @@ int oau_att_set_relay (int fd, int channel, enum oau_att_value_enum val)
return -EINVAL;
}
printf("RState %x\n", ctx->relay_state );
int ret = ftdi_write_data(ctx->ftdi, &ctx->relay_state, 1);
if(ret < 0)
return -EIO;
uint8_t pins;
ftdi_read_pins(ctx->ftdi, &pins);
printf("RState2 %x\n", pins );
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment