speedfixer
Posts: 14
Joined: Tue Apr 16, 2019 3:54 am
Location: California

pigpio: error -2000 dup?

Sat May 11, 2019 3:07 pm

in pigpio.h::6525

#define PI_PIGIF_ERR_0 -2000


in pigpiod_if2.h::4227

pigif_bad_send = -2000,

I make my own include headers for FreeBASIC.

david
If you don't try - you lose - a u t o m a t i c a l l y

User avatar
joan
Posts: 14010
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: pigpio: error -2000 dup?

Sat May 11, 2019 3:37 pm

It probably made great sense at the time, possibly to make clear the error ranges reported by the various components.

Given that PI_PIGIF_ERR_0 and PI_PIGIF_ERR_99 do not appear to be used it's not a great problem.

speedfixer
Posts: 14
Joined: Tue Apr 16, 2019 3:54 am
Location: California

Re: pigpio: error -2000 dup?

Sat May 11, 2019 4:07 pm

Thanks for dispelling my concerns.
If you don't try - you lose - a u t o m a t i c a l l y

Return to “C/C++”