precondition 3dcb0463ad
[Core] Added add_oneshot_mods & del_oneshot_mods (#10549)
* Added `add_oneshot_mods` & `del_oneshot_mods`

Deleted undefined and unused prototypes:
- void oneshot_enable(void)
- void oneshot_disable(void)
- void oneshot_toggle(void)

Reordered the oneshot functions to follow the same order as other mod
functions, that is to say : get, add, del, set, clear

* Stricter conditions on add_oneshot_mods & del_oneshot_mods

Prevent extending the one shot timer if the called add_oneshot_mods or del_oneshot_mods do not change anything to the current one shot mod state.

Co-authored-by: David Kosorin <david@kosorin.net>

Co-authored-by: David Kosorin <david@kosorin.net>
2020-11-10 20:27:35 +11:00
..
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2020-10-30 13:23:07 -07:00
2020-08-29 14:30:02 -07:00
2019-08-30 15:01:52 -07:00
2020-08-29 14:30:02 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2020-10-30 13:15:50 -07:00
2020-01-03 12:52:00 -08:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2020-10-30 13:23:07 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2020-06-10 22:23:11 +01:00
2019-08-30 15:01:52 -07:00
2016-08-23 04:16:35 +00:00
2019-12-11 11:36:00 -08:00