Commit Graph

12 Commits

Author SHA1 Message Date
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker c9fd7ee00d AP_Button: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Peter Barker f465a9336e AP_Button: add debounce on PWM input
Co-authored-by: jmachuca77 <jaime@element.aero>
2021-08-18 18:47:28 +10:00
Andrew Tridgell ef93165f28 AP_Button: added arming check 2021-07-24 18:18:57 +10:00
Patrick José Pereira 001e516fa7 AP_Button: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker 4b6e4e10ed AP_Button: allow RC Channel function to be specified for a button
Function will be executed on transition
2020-12-01 10:06:57 +11:00
Peter Barker 164bd95538 AP_Button: allow PWM to be used for button input 2020-12-01 10:06:57 +11:00
Peter Hall ecd7e12dd3 AP_Button: add crude debouncing and get_button_state function 2020-03-19 14:59:34 -07:00
Peter Hall 0226d28d4b AP_Button: make singleton 2019-12-10 09:29:52 +09:00
Patrick José Pereira c4825a6d02 AP_Button: Add missing header guard
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-05-20 23:50:23 +01:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell 2ce7b465c1 AP_Button: button monitoring library
library to monitor changes to button state
2016-07-22 15:01:20 +10:00