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:
kurtis.heimerl
2012-11-23 08:36:49 +00:00
parent b0030ba5ca
commit 03c9f9e8f0

View File

@@ -179,7 +179,7 @@ int main(int argc, char *argv[])
bool haveTRX = gTRX.ARFCN(0)->powerOn();
Thread transceiverThread;
if (!gTRX.haveClock()) {
if (!haveTRX) {
transceiverThread.start((void*(*)(void*)) startTransceiver, NULL);
// sleep to let the FPGA code load
// TODO: we should be "pinging" the radio instead of sleeping