mirror of
				https://github.com/fairwaves/openbts-2.8.git
				synced 2025-11-03 21:43:16 +00:00 
			
		
		
		
	uhd: remove extra type conversion
Type conversion, if necessary, should happen inside the device. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2633 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
		@@ -82,7 +82,6 @@ int main(int argc, char *argv[]) {
 | 
			
		||||
      LOG(INFO) << "rcvd. data@:" << timestamp;
 | 
			
		||||
      for (int i = 0; i < 512; i++) {
 | 
			
		||||
        uint32_t *wordPtr = (uint32_t *) &readBuf[2*i];
 | 
			
		||||
        *wordPtr = usrp_to_host_u32(*wordPtr); 
 | 
			
		||||
	printf ("%llu: %d %d\n", timestamp+i,readBuf[2*i],readBuf[2*i+1]);
 | 
			
		||||
        sum += (readBuf[2*i+1]*readBuf[2*i+1] + readBuf[2*i]*readBuf[2*i]);
 | 
			
		||||
        num++;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user