[PD-dev] [comport] errors

martin.peach at sympatico.ca martin.peach at sympatico.ca
Wed Mar 17 21:42:11 CET 2010


I just committed to svn a check for valid handle before any write can happen.
Strange that it didn't give errors before though, the handle would be -1.

Martin


hc wrote:
>
>
> I'm just trying out the new comport object in trunk, and it seems that
> it no longer outputs an error when you try to send bytes to a closed
> serial port, even with [verbose 1(. While the earlier messages were
> less than ideal, I think there should be some kind of notification if
> you send bytes to a closed serial port.
>
> It might even be worth making it a pd_error() so you can easily find
> which object has the problem, but I am not sure.
>
> .hc
>
> ----------------------------------------------------------------------------
>
> kill your television
>
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
 		 	   		  



More information about the Pd-dev mailing list