File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
drivers/src/main/java/info/martinmarinov/drivers/usb/silabs Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 2626
2727import java .io .IOException ;
2828import java .io .InputStream ;
29- import java .util .HashSet ;
3029import java .util .Set ;
3130
3231import info .martinmarinov .drivers .DeliverySystem ;
4039import info .martinmarinov .drivers .usb .DvbTuner ;
4140import info .martinmarinov .drivers .usb .DvbUsbDevice ;
4241import info .martinmarinov .drivers .usb .cxusb .CxUsbDvbDevice ;
43- import info .martinmarinov .drivers .usb .cxusb .MygicaT230C ;
4442
4543import static info .martinmarinov .drivers .DvbException .ErrorCode .BAD_API_USAGE ;
4644import static info .martinmarinov .drivers .DvbException .ErrorCode .CANNOT_TUNE_TO_FREQ ;
@@ -418,13 +416,11 @@ public synchronized Set<DvbStatus> getStatus() throws DvbException {
418416 return SetUtils .setOf ();
419417 }
420418
421- if (usbDevice instanceof MygicaT230C ) {
422- /* hook fe: need to resync the slave fifo when signal locks. */
423- /* it need resync slave fifo when signal change from unlock to lock.*/
424- if (!hasLockStatus && resultStatus .contains (FE_HAS_LOCK )) {
425- ((CxUsbDvbDevice )usbDevice ).cxusb_streaming_ctrl (true );
426- hasLockStatus = true ;
427- }
419+ /* hook fe: need to resync the slave fifo when signal locks. */
420+ /* it need resync slave fifo when signal change from unlock to lock.*/
421+ if (!hasLockStatus && resultStatus .contains (FE_HAS_LOCK )) {
422+ ((CxUsbDvbDevice )usbDevice ).cxusb_streaming_ctrl (true );
423+ hasLockStatus = true ;
428424 }
429425
430426 return resultStatus ;
You can’t perform that action at this time.
0 commit comments