1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Less debug output from slist

This commit is contained in:
Ivan Grokhotkov
2015-06-25 00:13:55 +03:00
parent 145b736d21
commit c2488bc202

View File

@ -9,14 +9,12 @@ public:
protected: protected:
static void _add(T* self) { static void _add(T* self) {
DEBUGV("%s %08x %08x\n", __func__, (uint32_t) self, (uint32_t) _s_first);
T* tmp = _s_first; T* tmp = _s_first;
_s_first = self; _s_first = self;
self->_next = tmp; self->_next = tmp;
} }
static void _remove(T* self) { static void _remove(T* self) {
DEBUGV("%s %08x %08x\n", __func__, (uint32_t) self, (uint32_t) _s_first);
if (_s_first == self) { if (_s_first == self) {
_s_first = self->_next; _s_first = self->_next;
self->_next = 0; self->_next = 0;