mirror of
https://github.com/dnet/pySSTV.git
synced 2026-04-06 23:03:48 +00:00
codegen: pass real image width as parameter
This commit is contained in:
parent
dee321d59e
commit
d540abd852
2 changed files with 3 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ int main() {
|
|||
|
||||
float freqs[FREQ_COUNT], msecs[FREQ_COUNT];
|
||||
|
||||
convert(img, freqs, msecs);
|
||||
convert(img, freqs, msecs, x);
|
||||
|
||||
for (int i = 0; i < FREQ_COUNT; i++) {
|
||||
fwrite(&(freqs[i]), 4, 1, stdout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue