Peter Kovary 772e1198dd
Return error from softPwmCreate if pthread_create fails
If `pthread_create` fails, `newPin` will never get reset to -1 and process would hang. This change will return from `softPwmCreate` immediately if  `pthread_create` returns a non-zero value and avoid hanging forever.
2021-06-19 12:55:49 +01:00
..
2012-08-16 15:04:43 +01:00
2013-07-16 10:37:26 +01:00
2013-05-21 22:38:16 +01:00
2018-03-14 07:17:04 +00:00
2012-08-16 15:04:43 +01:00
2012-12-06 21:49:41 +00:00
2021-05-01 21:32:50 +02:00
2020-11-26 15:57:05 +01:00
2015-01-30 18:14:49 +00:00
2018-03-14 07:17:04 +00:00
2015-01-30 18:14:49 +00:00