diff --git a/.gitignore b/.gitignore index 4449b61..fcdcc13 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,8 @@ build dist *.egg-info +tmp/ + # DOC files DOC/dbase/pigpio.sqlite.* DOC/tmp diff --git a/DOC/dbase/pigpio.sqlite b/DOC/dbase/pigpio.sqlite index a26ab8e..ba61140 100644 Binary files a/DOC/dbase/pigpio.sqlite and b/DOC/dbase/pigpio.sqlite differ diff --git a/pigpio.3 b/pigpio.3 index c878cbd..0871b71 100644 --- a/pigpio.3 +++ b/pigpio.3 @@ -189,6 +189,24 @@ error PI_INITIALISED. .br +.br +If you intend to rely on signals sent to your application, you should +turn off the internal signal handling as show in this example: + +.EX +int cfg = gpioCfgGetInternals(); +.br +cfg |= PI_CFG_NOSIGHANDLER; // (1<<10) +.br +gpioCfgSetInternals(cfg); +.br +int status = gpioInitialise(); +.br + +.EE + +.br + .br .SH OVERVIEW @@ -689,8 +707,6 @@ gpioCfgMemAlloc Configure DMA memory allocation mode gpioCfgNetAddr Configure allowed network addresses .br -.br -gpioCfgInternals Configure misc. internals (DEPRECATED) .br gpioCfgGetInternals Get internal configuration settings .br @@ -3026,7 +3042,7 @@ int main(int argc, char *argv[]) .IP "\fBint gpioWaveTxAt(void)\fP" .IP "" 4 This function returns the id of the waveform currently being -transmitted. +transmitted using \fBgpioWaveTxSend\fP. Chained waves are not supported. .br @@ -7896,22 +7912,6 @@ numSockAddr: 0-256 (0 means all addresses allowed) .EE -.IP "\fBint gpioCfgInternals(unsigned cfgWhat, unsigned cfgVal)\fP" -.IP "" 4 -Used to tune internal settings. - -.br - -.br - -.EX -cfgWhat: see source code -.br - cfgVal: see source code -.br - -.EE - .IP "\fBuint32_t gpioCfgGetInternals(void)\fP" .IP "" 4 This function returns the current library internal configuration @@ -7932,6 +7932,10 @@ cfgVal: see source code .EE +.br + +.br + .IP "\fBint gpioCustom1(unsigned arg1, unsigned arg2, char *argx, unsigned argc)\fP" .IP "" 4 This function is available for user customisation. diff --git a/pigpio.c b/pigpio.c index 4bee29a..0ad740d 100644 --- a/pigpio.c +++ b/pigpio.c @@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to */ -/* pigpio version 76 */ +/* pigpio version 77 */ /* include ------------------------------------------------------- */ diff --git a/pigpio.h b/pigpio.h index a24e074..7364b71 100644 --- a/pigpio.h +++ b/pigpio.h @@ -30,7 +30,7 @@ For more information, please refer to #include #include -#define PIGPIO_VERSION 7601 +#define PIGPIO_VERSION 7700 /*TEXT diff --git a/pigpiod_if2.3 b/pigpiod_if2.3 index f07de8d..e5c79e8 100644 --- a/pigpiod_if2.3 +++ b/pigpiod_if2.3 @@ -2829,7 +2829,7 @@ int main(int argc, char *argv[]) .IP "\fBint wave_tx_at(int pi)\fP" .IP "" 4 This function returns the id of the waveform currently being -transmitted. +transmitted by \fBwave_send*\fP. Chained waves are not supported. .br diff --git a/pigs.1 b/pigs.1 index 8fa4337..9b53e0e 100644 --- a/pigs.1 +++ b/pigs.1 @@ -4823,7 +4823,7 @@ $ pigs wvas 7 38400 8 2 0 0x41 0x42 .br This command returns the id of the waveform currently -being transmitted. Note: chained waves are not supported. +being transmitted. Chained waves are not supported. .br Returns the waveform id or one of the following special