Skip to content

Commit

Permalink
Updated to change from imag to real due bug in libSatHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
racerxdl committed Jan 16, 2019
1 parent 485d264 commit 57977db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ cmd/SatHelperApp/out/
SatHelperApp
cmd/xritparse/xritparse
cmd/demuxReplay/replay
release*
2 changes: 1 addition & 1 deletion DSP/DSP.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func processSamples() {
defer constellationFifo.UnsafeUnlock()
for i := 0; i < symbols; i++ {
z := (*ob)[i]
v := imag(z) * 127
v := real(z) * 127
if v > 127 {
v = 127
} else if v < -128 {
Expand Down

0 comments on commit 57977db

Please sign in to comment.