Changed spelling

This commit is contained in:
Martin Deegan 2017-06-06 19:46:39 -07:00
parent 1aa4cca8a6
commit e835006196
2 changed files with 34 additions and 0 deletions

View File

@ -8477,6 +8477,11 @@ int gpioInitialise(void)
return status;
}
int gpioInitialize(void)
{
return gpioInitialise;
}
/* ----------------------------------------------------------------------- */

View File

@ -909,6 +909,35 @@ typedef void *(gpioThreadFunc_t) (void *);
#define PI_EVENT_BSC 31
/*F*/
int gpioInitialize(void);
/*D
Initializes the library.
Returns the pigpio version number if OK, otherwise PI_INIT_FAILED.
gpioInitialize must be called before using the other library functions
with the following exceptions:
. .
[*gpioCfg**]
[*gpioVersion*]
[*gpioHardwareRevision*]
. .
...
if (gpioInitialize() < 0)
{
// pigpio initialization failed.
}
else
{
// pigpio initialized okay.
}
...
D*/
/*F*/
int gpioInitialise(void);
/*D