 // This function is called by the Arduino Serial driver
 void serialEvent2()
 {
-    gs_pMidiTask->wake();
+    gs_midiTask->wake();
 }

    // Initialize MIDI, baud rate is 31.25k
    Serial2.begin(31250);

    gs_pMidiInput = new ArduinoMidiInput(Serial2);
    gs_pMidiTask = new MidiTask(*gs_pMidiInput,
                                c_defaultStackSize,
                                PRIORITY_CRITICAL);

    // Initialize concert dependencies.
    gs_pRgbFunctionFactory = new RgbFunctionFactory;

    Processing::TNoteToLightMap noteToLightMap;
    uint8_t lightNumber = 0;

{
    // Initialize logging
    Serial.begin(115200);
    gs_loggingTask = new LoggingTask(Serial,
                                     c_defaultStackSize,
                                     PRIORITY_LOW);

    LOG_INFO("MIDI-LED-Controller (MLC) (c) Daniel Schenk, 2017");
    LOG_INFO("initializing application...");
