File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
examples/NonReg/Basics/Tests_basic_functions Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11/*
22 * Test some advanced I/O functions
33 */
4-
4+ # ifdef TIMER_TONE
55/*
66 * Variable for advanced I/O test
77 */
@@ -82,3 +82,4 @@ void test_IO_IT(void)
8282 clknb++;
8383 }
8484}
85+ #endif
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ void list_test(void)
2222 Serial.println (" 1-String" );
2323 Serial.println (" 2-Math" );
2424 Serial.println (" 3-Bytes" );
25+ #ifdef TIMER_TONE
2526 Serial.println (" 4-Advanced I/O" );
27+ #endif
2628}
2729
2830void loop () {
@@ -37,7 +39,9 @@ void loop() {
3739 case 1 : test_string (); break ;
3840 case 2 : test_math (); break ;
3941 case 3 : test_bytes (); break ;
42+ #ifdef TIMER_TONE
4043 case 4 : test_IO (); break ;
44+ #endif
4145 default : break ;
4246 }
4347
You can’t perform that action at this time.
0 commit comments