forked from Makuna/NeoPixelBus
* Fix clang-tidy pointer cast error
clang-tidy reports:
./src/internal/NeoEsp8266DmaMethod.h:317:46: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [clang-diagnostic-error]
_i2sBufDesc[indexDesc].buf_ptr = reinterpret_cast<uint32_t>(is2Buffer);
^
./src/internal/NeoEsp8266DmaMethod.h:492:58: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [clang-diagnostic-error]
(finished_item + 1)->next_link_ptr = reinterpret_cast<uint32_t>(finished_item);
Use pointers instead of integers for pointers. This makes quite some
casts unnecessary.
* Use struct slc_queue_item* as datatype for next pointer