Changeset 9138

Show
Ignore:
Timestamp:
08/01/08 13:46:06
Author:
eb
Message:

ensure final count is right

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • usrp2/branches/developers/eb/merge-wip/host-ng/apps/tx_samples.cc

    r9121 r9138  
    222222    // FIXME if r < 9, pad to 9 for minimum packet size constraint 
    223223 
    224     if (!u2->tx_complex_int16(0, samples, samples_per_frame, &md)) 
    225       break; 
     224    if (!u2->tx_complex_int16(0, samples, r, &md)){ 
     225      fprintf(stderr, "tx_complex_int16 failed\n"); 
     226      break; 
     227    } 
    226228  } 
    227229