Nacho Man wrote:
> if no serial ports are hooked up to the system, the code below
> crashes the program.
> 
> I wonder if there's a way to prevent that.

Check the return code of sp_list_ports(). You have to study and
understand every single line of the program before you can use it.


//Peter

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to