OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
867 stars 152 forks source link

Fix #240 dont draw histogram if vaoHistogram empty #241

Closed ericfont closed 3 years ago

ericfont commented 3 years ago

Signed-off-by: Eric Fontaine ericfontainejazz@gmail.com

ericfont commented 3 years ago

I'm also proposing an alternative fix #242, which puts the vaoHistogram.empty() test at the start of the drawHistogramChannelGraph() function. I'm thinking #242 might be slightly better in case this function gets called from somewhere else.

ericfont commented 3 years ago

if you pick #242, then close me (#241).

Ho-Ro commented 3 years ago

replaced by #242