[Redbutton-devel] SF.net SVN: redbutton: [298] redbutton-download/trunk/channels.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-04-28 20:14:19
|
Revision: 298
http://svn.sourceforge.net/redbutton/?rev=298&view=rev
Author: skilvington
Date: 2007-04-28 13:13:54 -0700 (Sat, 28 Apr 2007)
Log Message:
-----------
check if DISEQC succeeded
Modified Paths:
--------------
redbutton-download/trunk/channels.c
Modified: redbutton-download/trunk/channels.c
===================================================================
--- redbutton-download/trunk/channels.c 2007-04-28 19:30:47 UTC (rev 297)
+++ redbutton-download/trunk/channels.c 2007-04-28 20:13:54 UTC (rev 298)
@@ -524,7 +524,8 @@
needed_params.frequency -= LOF2;
hi_lo = true;
}
- do_diseqc(fe_fd, sat_no, polarity, hi_lo);
+ if(do_diseqc(fe_fd, sat_no, polarity, hi_lo) < 0)
+ error("DISEQC command failed for service_id %u", service_id);
}
/* tune in */
if(ioctl(fe_fd, FE_SET_FRONTEND, &needed_params) < 0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|