figments: drop unused perfcounter class
This commit is contained in:
@ -49,10 +49,7 @@ void SolidAnimation::loop() {
|
||||
}
|
||||
}
|
||||
|
||||
#include <Perfcounter.h>
|
||||
|
||||
void SolidAnimation::render(Display* dpy) const {
|
||||
PerfCounter _("solidRender");
|
||||
CRGB color(m_red.value(), m_green.value(), m_blue.value());
|
||||
CRGB scaledPrev = m_prevColor;
|
||||
scaledPrev = color.nscale8(30);
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
#include <Figments.h>
|
||||
#include <ArduinoLog.h>
|
||||
#include <Perfcounter.h>
|
||||
|
||||
class Blob {
|
||||
uint8_t m_pos;
|
||||
@ -51,7 +50,6 @@ public:
|
||||
}
|
||||
|
||||
void render(Display* display) const {
|
||||
PerfCounter _("blobRender");
|
||||
const uint8_t width = 25;
|
||||
auto map = display->coordinateMapping();
|
||||
// Grab the physical pixel we'll start with
|
||||
|
Reference in New Issue
Block a user