chuck todd 9ad860758c Fix Memory leak in addApbChangeCallback() (#3560)
* `ledcWriteTone()` added a `apbcallback()` evertime the tone value was non zero.  
* `addApbChangeCallback()` did not detect duplicate callbacks.
* changed the apbcallback list to a double link to support roll forward, roll back execution.  This made the sequences of clock change callback start with the newest registered -> to oldest on the `before` then oldest -> newest after the clock change.  This made the UART debug log output have minimal gibberish during the clock change.
* change how the UART callback handled the MUTEX because if any `apbchangeCallback()` executed a `log_x()` a deadlock would occur.

This fixes #3555
2019-12-30 21:35:29 +02:00
..
2016-10-06 07:09:44 -06:00
2016-10-06 07:09:44 -06:00
2018-12-28 19:14:15 +02:00
2017-01-09 18:05:30 +02:00
2016-10-06 07:09:44 -06:00
2016-10-06 07:09:44 -06:00
2019-05-01 20:10:41 +03:00
2019-09-24 19:25:27 +03:00
2016-12-09 17:47:30 +02:00
2016-12-12 01:32:55 +02:00
2016-12-12 01:32:55 +02:00
2017-01-06 00:54:50 +02:00
2017-01-06 00:54:50 +02:00
2019-10-04 12:49:39 +03:00
2016-10-06 07:09:44 -06:00
2016-10-06 07:09:44 -06:00
2016-10-06 07:09:44 -06:00
2018-06-27 09:01:06 +02:00
2016-10-06 07:09:44 -06:00
2019-05-11 11:16:05 +03:00
2016-10-06 07:09:44 -06:00
2016-10-06 07:09:45 -06:00
2017-01-20 21:49:17 +02:00
2019-06-05 13:48:13 +02:00