The codebase to run the *spark d-fuser controller www.sparkav.co.uk/dvimixer
Dependencies: SPK-TVOne DMX DmxArtNet NetServicesMin OSC PinDetect mRotaryEncoder iniparser mbed spk_oled_ssd1305 filter
Diff: spk_settings.h
- Revision:
- 27:27851d3d2bba
- Parent:
- 16:52484666b323
- Child:
- 28:67269c2d042b
diff -r 0299f8760715 -r 27851d3d2bba spk_settings.h --- a/spk_settings.h Sun Oct 28 15:17:28 2012 +0000 +++ b/spk_settings.h Sun Oct 28 16:19:04 2012 +0000 @@ -2,8 +2,6 @@ #include <string> #include <vector> -// CRAZY: When this file is used in a test program, doesn't need the extern to compile, and works perfectly. -// When this file is used in SPK-DVIMXR, requires the extern to compile and crashes on iniparser_load extern "C" { #include "iniparser.h" @@ -20,6 +18,9 @@ { //// KEYS + keyerParamNames.clear(); + keyerParamSets.clear(); + // Parameter Set: minY, maxY, minU, maxU, minV, maxV int paramSet1[6] = {0, 18, 128, 129, 128, 129}; keyerParamNames.push_back("Lumakey"); @@ -31,6 +32,10 @@ //// RESOLUTIONS + resolutionNames.clear(); + resolutionIndexes.clear(); + resolutionEDIDIndexes.clear(); + resolutionNames.push_back(kTV1ResolutionDescriptionVGA); resolutionIndexes.push_back(kTV1ResolutionVGA); resolutionEDIDIndexes.push_back(5);