Commit Graph

139 Commits

Author SHA1 Message Date
mstroh
82aa8920a7 Merge pull request #355 from Next-Door-Tech/stdbool
Switch to stdbool.h
2025-06-11 16:30:59 +02:00
Connor Gibson
b243be74d4 Swap out-of-order arguments to calloc 2025-06-07 15:30:47 -07:00
Connor Gibson
454d50319a Add void argument list for void GetRP1Memory(void)
Function definitions without an argument list are disallowed in C23.
Removed dropped arguments in later call to function.
2025-06-07 15:25:35 -07:00
Connor Gibson
55e189eda5 Switch to stdbool.h
- Add `#include <stdbool.h> to all files previously using the
   `TRUE`/`FALSE` macros
 - Replace all instances of `TRUE`/`FALSE` with `true`/`false`,
   respectively
 - Definitions of `TRUE`/`FALSE` macros retained in wiringPi.h for compatibility.
2025-06-07 13:14:49 -07:00
Connor Gibson
b86be0969d Remove extra indents before if followed by if else
This was driving clangd crazy - replaced with indents between the if and conditional parentheses in most places.
2025-06-05 22:16:43 -07:00
Manfred Wallner
70a455a2c8 Merge branch 'develop' into cleanup 2025-06-05 13:21:55 +02:00
Connor Gibson
044af6cb9a Fix indentation 2025-05-31 19:45:01 -07:00
Connor Gibson
fbd4353121 Remove deprecated digitalRead8() and digitalWrite8() functions from comments 2025-05-31 19:45:01 -07:00
mstroh76
18fc04d7f2 #322 check pin numbers after convert to BCM 2025-05-18 21:17:09 +02:00
mstroh76
d5f0ea06f4 #337 ISr user datat and unit test 2025-05-04 19:41:14 +02:00
mstroh76
b71a2b688e #346 irq status var name ajust 2025-05-02 19:50:44 +02:00
mstroh76
38274fe6e8 #346 GPIO Character Device Userspace API V2 - compatibility to old interface 2025-05-02 13:10:40 +02:00
phylax2020
2f35ff5ec8 Version v3.16: added wfi status for wiringPiISR and waitForInterrupt 2025-02-20 11:29:30 +01:00
phylax2020
44538850b4 WiringPi.c interrupthandler ppoll timeout reduced 2025-02-18 10:46:08 +01:00
phylax2020
7abeddde2d wiringPi.c ; waitForInterrupt releases fd and line itself, wiringPiISRStop not necessary to be called 2025-02-17 22:09:07 +01:00
phylax2020
04dc08e511 wiringPi.c: waitForInterrupt rewritten 2025-02-17 12:23:11 +01:00
phylax2020
3c3b69c888 wiringPi.c : memory leak in wiringPiISR and wiringPiISRStop fixed 2025-02-16 23:02:24 +01:00
phylax2020
0212a0e5ae Merge branch 'development' of https://github.com/phylax2020/WiringPi into development 2025-02-16 22:55:50 +01:00
phylax2020
a7e20b8bf7 wiringPi.c : memory leak in wiringPiISR and wiringPiISRStop fixed 2025-02-16 22:53:08 +01:00
Manfred Wallner
60f100b465 Merge branch 'GPIO_V2_IOCTL' into development 2025-02-13 21:39:19 +01:00
phylax2020
a261ceb485 Pi500/CM5 support 2025-02-11 20:01:41 +01:00
phylax2020
92be5caccd Version 3.14: WiringPi functions upgrade to GPIO_V2 IOCTL 2025-02-11 16:02:33 +01:00
phylax2020
0bf457519d Version 3.13 : debounce time added for wiringPiISR and waitForInterrupt library functions. Documentation update 2025-01-29 19:09:32 +01:00
mstroh76
7b03cd9f42 Pi500/CM5/CM5L support 2025-01-18 16:10:54 +01:00
mstroh76
3f3c8d1867 #294 output rp1 scan only if debug is activated 2025-01-05 12:41:03 +01:00
mstroh76
6bb7ef9fc3 Year to 2025 2025-01-05 10:45:22 +01:00
mstroh76
60a7455a9d #294 2024-11-10 19:02:13 +01:00
mstroh76
9e7c71f67d #280 2024-09-09 14:49:15 +02:00
mstroh76
b6bc43b562 #280 gpiochip0 and optional gpiochip4 with Pi5 2024-09-08 20:46:10 +02:00
mstroh76
f2b23cfb0d #258 Pi5 full PWM support 2024-08-30 19:51:18 +02:00
mstroh76
6992794f1d #267 new output commands PWM_MODE_BAL & PWM_MODE_MS 2024-08-23 16:30:08 +02:00
mstroh76
0fab17c768 #262 2024-07-14 18:37:03 +02:00
mstroh76
ffccd873a4 #261 2024-07-14 18:32:40 +02:00
mstroh76
b5a1448624 #256 PiFace test 2024-06-16 16:29:58 +02:00
mstroh76
7fa40ba6f8 add API call getPinModeAlt 2024-05-31 17:33:39 +02:00
mstroh76
4db79da55b #244 add API call getPinModeAlt 2024-05-30 16:52:04 +02:00
Manfred Wallner
9452d3c0c3 Merge branch 'develop' into GPIOAPI 2024-05-03 21:37:04 +02:00
Manfred Wallner
7e89062466 Merge branch 'develop' into pwm 2024-05-03 21:27:49 +02:00
Manfred Wallner
0297d12d10 Merge pull request #229 from WiringPi/warnings
Warnings
2024-05-03 21:27:24 +02:00
mstroh76
9044333c75 #231 2024-05-03 20:29:43 +02:00
mstroh76
23b7251a2d #227 2024-05-03 14:36:09 +02:00
mstroh76
4eea4634dd #210 2024-05-01 20:31:21 +02:00
mstroh76
f3415b593c #225 2024-05-01 20:28:52 +02:00
mstroh76
e20bda7a12 #210 2024-04-28 17:40:19 +02:00
mstroh76
d3a23725b8 #210 2024-04-27 18:19:46 +02:00
Benjamin Braunfels
2b383b167e Fixed warnings and removed unused function 2024-04-26 14:35:50 +02:00
mstroh76
ad6d821329 #219 boost speed and improve compatibility with sysfs 2024-04-20 19:48:33 +02:00
mstroh76
b0c5793086 #219 2024-04-16 18:50:37 +02:00
mstroh76
34b0f368a7 #221 2024-04-15 12:49:38 +02:00
mstroh76
e7726a4f0a #221 2024-04-14 11:51:38 +02:00