Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Garcia <danielgarcia@gmail.com>2014-10-02 11:18:12 +0400
committerDaniel Garcia <danielgarcia@gmail.com>2014-10-02 11:18:12 +0400
commitd31046118e55f67656e8cfefb0bb1a86cceb4b54 (patch)
treeb98154f4d95bac435a854b07bcd79b8283cb67f3
parentf08fb6679f0c8b6c659713eb087275925be6a4b4 (diff)
make sure getFPS has a body
-rw-r--r--FastLED.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/FastLED.h b/FastLED.h
index c1990197..af3d77de 100644
--- a/FastLED.h
+++ b/FastLED.h
@@ -223,7 +223,7 @@ public:
// nFrames calls, it will update an internal counter for the current FPS.
void countFPS(int nFrames=25);
// Get the number of frames/second being written out
- uint16_t getFPS();
+ uint16_t getFPS() { return m_nFPS; }
// returns the number of controllers (strips) that have been added with addLeds
int count();