Mozzi  version v2.0
sound synthesis library for Arduino
disable_2pinmode_on_github_workflow.h
1 /* This purely internal header takes care of disabling stereo mode when on a github runner. Intended to be used
2  * on platforms that don't support stereo, allowing the compilation to proceed without error. */
3 
4 #if __has_include("../detect_github_runner.h") // the marker file we added inside the workflow
5  // do nothing, if this isn't present
6 # if defined(MOZZI_AUDIO_MODE) && MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_2PIN_PWM)
7 # undef MOZZI_AUDIO_MODE
8 # warning Disabled 2pin pwm output mode on github runner
9 # endif
10 
11 #endif