removed redundant Scottie sync code

pull/1/head
András Veres-Szentkirályi 2013-05-23 16:15:57 +02:00
rodzic c994e2bb2d
commit b43cf13511
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
from __future__ import division
from sstv import FREQ_BLACK, FREQ_RANGE, FREQ_SYNC
from sstv import FREQ_BLACK, FREQ_RANGE
from grayscale import GrayscaleSSTV
class ColorSSTV(GrayscaleSSTV):
@ -55,7 +55,8 @@ class ScottieS1(MartinM1):
def before_channel(self, index):
if index != ColorSSTV.RED:
yield FREQ_SYNC, self.SYNC
for item in MartinM1.horizontal_sync(self):
yield item
yield FREQ_BLACK, self.INTER_CH_GAP