mirror of https://github.com/joan2937/pigpio
Resolve merge conflict
This commit is contained in:
parent
51e7df2b6c
commit
32727085fc
9
pigpio.c
9
pigpio.c
|
@ -8140,10 +8140,13 @@ int initInitialise(void)
|
|||
if (pthread_attr_setstacksize(&pthAttr, STACK_SIZE))
|
||||
SOFT_ERROR(PI_INIT_FAILED, "pthread_attr_setstacksize failed (%m)");
|
||||
|
||||
if (pthread_create(&pthAlert, &pthAttr, pthAlertThread, &i))
|
||||
SOFT_ERROR(PI_INIT_FAILED, "pthread_create alert failed (%m)");
|
||||
if (!(gpioCfg.ifFlags & PI_DISABLE_ALERT))
|
||||
{
|
||||
if (pthread_create(&pthAlert, &pthAttr, pthAlertThread, &i))
|
||||
SOFT_ERROR(PI_INIT_FAILED, "pthread_create alert failed (%m)");
|
||||
|
||||
pthAlertRunning = PI_THREAD_STARTED;
|
||||
pthAlertRunning = PI_THREAD_STARTED;
|
||||
}
|
||||
|
||||
if (!(gpioCfg.ifFlags & PI_DISABLE_FIFO_IF))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue