Skip to content
Snippets Groups Projects
Commit 93c03d15 authored by fxk8y's avatar fxk8y :spider:
Browse files

Now remove the debug and superflouos commenting stuff!

parent 2638c1e8
No related branches found
No related tags found
No related merge requests found
......@@ -81,10 +81,6 @@ namespace SiliconTorch {
// Packet does not contain any pixels for us
if (packetPxs < delta) return;
// TODO: '<' or '<=' ??
// May use both:
// '<': we exit in all cases
// '<=': we let the '(packetPxs - delta) == 0'-case through which than gets eaten by the for-condition!
for (uint16_t px = 0; px < std::min(leds, (uint16_t)(packetPxs - delta)); px++) {
buffer1[px].r = packetPx[px + delta].r / 255.0f;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment