Mercurial > hg > beaglert
diff examples/10-Instruments/tank-wars/render.cpp @ 543:8f8809c77dda prerelease
updated basics, digital, instruments, extras examples
author | chnrx <chris.heinrichs@gmail.com> |
---|---|
date | Fri, 24 Jun 2016 13:19:52 +0100 |
parents | a23d74e2f6cb |
children |
line wrap: on
line diff
--- a/examples/10-Instruments/tank-wars/render.cpp Fri Jun 24 13:00:31 2016 +0100 +++ b/examples/10-Instruments/tank-wars/render.cpp Fri Jun 24 13:19:52 2016 +0100 @@ -93,9 +93,9 @@ { srandom(time(NULL)); - // Verify we are running with matrix enabled - if(context->analogFrames == 0 || context->analogChannels < 4) { - rt_printf("Error: this example needs the matrix enabled with at least 4 channels\n"); + // Verify we are running with analog channels enabled + if(context->analogFrames == 0 || context->analogOutChannels < 4) { + rt_printf("Error: this example needs least 4 analog output channels\n"); return false; }