mirror of
				https://github.com/fairwaves/openbts-2.8.git
				synced 2025-11-04 05:53:17 +00:00 
			
		
		
		
	r4426 in private:
Check for transceiver with a "ping", not be waiting for the clock. The fixes in the socket class seem to have solved this problem. git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4514 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
		@@ -179,7 +179,7 @@ int main(int argc, char *argv[])
 | 
				
			|||||||
	bool haveTRX = gTRX.ARFCN(0)->powerOn();
 | 
						bool haveTRX = gTRX.ARFCN(0)->powerOn();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Thread transceiverThread;
 | 
						Thread transceiverThread;
 | 
				
			||||||
	if (!gTRX.haveClock()) {
 | 
						if (!haveTRX) {
 | 
				
			||||||
		transceiverThread.start((void*(*)(void*)) startTransceiver, NULL);
 | 
							transceiverThread.start((void*(*)(void*)) startTransceiver, NULL);
 | 
				
			||||||
		// sleep to let the FPGA code load
 | 
							// sleep to let the FPGA code load
 | 
				
			||||||
		// TODO: we should be "pinging" the radio instead of sleeping
 | 
							// TODO: we should be "pinging" the radio instead of sleeping
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user