]> git.sesse.net Git - nageru/commitdiff
Unbreak the cue in and out lights.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Jan 2019 19:39:45 +0000 (20:39 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Jan 2019 19:39:45 +0000 (20:39 +0100)
futatabi/midi_mapper.cpp

index 3d1f6ec0401e14a5d01ba775a639434ca6a172a3..36a2e43f9224232570cc2f02d4e9b8168e5e4943 100644 (file)
@@ -246,8 +246,8 @@ void MIDIMapper::update_lights_lock_held()
        }
 
        // These are always enabled right now.
-       activate_mapped_light(*mapping_proto, MIDIMappingProto::kCueInFieldNumber, &active_lights);
-       activate_mapped_light(*mapping_proto, MIDIMappingProto::kCueOutFieldNumber, &active_lights);
+       activate_mapped_light(*mapping_proto, MIDIMappingProto::kCueInEnabledFieldNumber, &active_lights);
+       activate_mapped_light(*mapping_proto, MIDIMappingProto::kCueOutEnabledFieldNumber, &active_lights);
 
        midi_device.update_lights(active_lights);
 }