gen_values: initialize local variable 'sample'
gen_values: initialize local variable 'sample'

although in practice, this shouldn't happen -- I tried lowering the
sample rate, and even at 10 samples/sec with Martin M1, it worked, and
SSTV requires at least 4000 samples/sec

(1 sample/sec raises an error though, if you'd like to try)

dnet/pySSTV,dnet/pySSTV