Commit Graph

3 Commits

Author SHA1 Message Date
Johannes Demel
7830cded77 traceplot: Fix divide by zero crash
Very small files would cause inspectrum to crash with a SIGFPE. In the
end, this is caused by input that let's `samplesPerColumn == 0`. Make
sure this value is at least `1` and it doesn't crash anymore.

Signed-off-by: Johannes Demel <johannes.demel@dedrone.com>
2024-07-30 10:09:37 +02:00
Mike Walters
ae9b2d4a3b Whitespace cleanup 2023-10-16 15:47:37 +01:00
Mike Walters
c20bc0e32b make a src directory 2021-02-27 09:42:43 +00:00