PlayLed should not work this way
authorArthur Wolf <wolf.arthur@gmail.com>
Tue, 16 Apr 2013 13:42:44 +0000 (15:42 +0200)
committerArthur Wolf <wolf.arthur@gmail.com>
Tue, 16 Apr 2013 13:42:44 +0000 (15:42 +0200)
src/modules/utils/PlayLed/PlayLed.cpp

index 32b5955..c5f22e1 100644 (file)
@@ -16,6 +16,7 @@ void PlayLed::on_module_loaded()
     register_for_event(ON_CONFIG_RELOAD);
 
     register_for_event(ON_PLAY);
+    //TODO: these two events happen in interrupt context and it's extremely important they don't last long. This should be done by checking the size of the queue once a second or something
     //register_for_event(ON_BLOCK_BEGIN);
     //register_for_event(ON_BLOCK_END);