Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ProffieOS: Control software for lightsabers and other props.
- http://fredrik.hubbe.net/lightsaber/teensy_saber.html
- Copyright (c) 2016-2019 Fredrik Hubinette
- Additional copyright holders listed inline below.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- /*-----------------------------------------------------------------*\
- | You can have multiple configuration files, and specify which one |
- | to use here by removing the two slashes at the beginning. |
- | **NOTE** Only ONE line should be left uncommented at a time! |
- | Add the slashes to any that you are not using. |
- \*-----------------------------------------------------------------*/
- #define CONFIG_FILE "config/myFett263config.h"
- // #define CONFIG_FILE "config/default_proffieboard_config.h"
- // #define CONFIG_FILE "config/proffieboard_v1_test_bench_config.h"
- // #define CONFIG_FILE "config/proffieboard_v2_testing_config.h"
- // #define CONFIG_FILE "config/td_proffieboard_config.h"
- // #define CONFIG_FILE "config/proffieboard_v1_graflex.h"
- // #define CONFIG_FILE "config/teensy_audio_shield_micom.h"
- // #define CONFIG_FILE "config/proffieboard_v2_ob4.h"
- #ifndef CONFIG_FILE
- #error Please set CONFIG_FILE as shown above.
- #endif
- //#include "common/resources.h"
- #define CONFIG_TOP
- #include CONFIG_FILE
- #undef CONFIG_TOP
- //#include "common/capabilities.h"
- #if !defined(ENABLE_AUDIO) && !defined(DISABLE_AUDIO)
- #define ENABLE_AUDIO
- #endif
- #if !defined(ENABLE_MOTION) && !defined(DISABLE_MOTION)
- #define ENABLE_MOTION
- #endif
- #if !defined(ENABLE_WS2811) && !defined(DISABLE_WS2811)
- #define ENABLE_WS2811
- #endif
- #if !defined(ENABLE_SD) && !defined(DISABLE_SD)
- #define ENABLE_SD
- #endif
- #if !defined(KILL_OLD_PLAYERS) && !defined(DISABLE_KILL_OLD_PLAYERS)
- #define KILL_OLD_PLAYERS
- #endif
- #if !defined(NO_REPEAT_RANDOM) && !defined(DISABLE_NO_REPEAT_RANDOM)
- #define NO_REPEAT_RANDOM
- #endif
- #ifndef BOOT_VOLUME
- #define BOOT_VOLUME VOLUME
- #endif
- #ifndef FONT_PATTERN
- #define FONT_PATTERN "*;common"
- #endif
- #ifdef SAVE_STATE
- #define SAVE_VOLUME
- #define SAVE_PRESET
- #define SAVE_COLOR_CHANGE
- #define SAVE_BLADE_DIMMING
- #endif
- #ifdef ENABLE_ALL_EDIT_OPTIONS
- #define DYNAMIC_BLADE_LENGTH
- #define DYNAMIC_BLADE_DIMMING
- #define DYNAMIC_CLASH_THRESHOLD
- #define SAVE_VOLUME
- #define SAVE_BLADE_DIMMING
- #define SAVE_CLASH_THRESHOLD
- #define SAVE_COLOR_CHANGE
- #endif
- // #define ENABLE_DEBUG
- #ifdef KEEP_SAVEFILES_WHEN_PROGRAMMING
- #warning Your config file has KEEP_SAVEFILES_WHEN_PROGRAMMING in it. If you experience problems, please remove it and try again before asking for help. For more information, see: https://pod.hubbe.net/config/keeping-edits-when-uploading.html
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement