gusmanb / logicanalyzer

24 channel, 100Msps logic analyzer hardware and software
GNU General Public License v3.0
2.37k stars 262 forks source link

To small definitions for FgChannelColor #120

Closed Mikes-brun closed 4 months ago

Mikes-brun commented 4 months ago

When it read data from two devices (48 channels) generate exception on call context.DrawLine method (line 181) because array of FgChannelColor is defined only for 24 items. Hotfix (bad): duplicate "public static Color[] FgChannelColors => new Color[]" fields to two times.

gusmanb commented 4 months ago

This is already solved in the code but the new version has still not been published. Hope to have enough time next month (too much work in real life :/ ).

Cheers.

gusmanb commented 4 months ago

If I recall right this is a test version with that problem corrected.

https://mega.nz/file/rPAFRJ6S#9qa-LDqqxHqw8ppV6v3puSrMToAYdSWzkLvB2dhXwXU