vanvught / rpidmx512

Orange Pi DMX512 / RDM / MIDI / OSC / Art-Net / WS28xx / L6470 / Stepper / TLC59711 / PCA9685 / Servo / PWM / TCNet / SMPTE / RDMNet / LLRP / GD32 / GigaDevice / Raspberry Pi
http://www.orangepi-dmx.org/
MIT License
391 stars 108 forks source link

lib-dmx: Remove class DmxSet #203

Closed vanvught closed 3 years ago

vanvught commented 3 years ago

As it is known at compile time which class is used (Dmx or DmxMulti) it is of no use to have virtual methods. Removing class DmxSet will reduce the RAM footprint (no vtables) which might be useful for MCU implementations where not much RAM is available compared with the Orange Pi Zero (KB's vs MB's).

cc: @hippyau

vanvught commented 3 years ago

207