Relocate diode direction definitions (#19715)
This commit is contained in:
		
							parent
							
								
									043d8e1140
								
							
						
					
					
						commit
						968cc1fe7b
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -20,10 +20,6 @@
 | 
				
			||||||
#    include "pin_defs.h"
 | 
					#    include "pin_defs.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* diode directions */
 | 
					 | 
				
			||||||
#define COL2ROW 0
 | 
					 | 
				
			||||||
#define ROW2COL 1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifdef AUDIO_ENABLE
 | 
					#ifdef AUDIO_ENABLE
 | 
				
			||||||
#    include "song_list.h"
 | 
					#    include "song_list.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,6 +20,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
#include <stdint.h>
 | 
					#include <stdint.h>
 | 
				
			||||||
#include <stdbool.h>
 | 
					#include <stdbool.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* diode directions */
 | 
				
			||||||
 | 
					#define COL2ROW 0
 | 
				
			||||||
 | 
					#define ROW2COL 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if (MATRIX_COLS <= 8)
 | 
					#if (MATRIX_COLS <= 8)
 | 
				
			||||||
typedef uint8_t matrix_row_t;
 | 
					typedef uint8_t matrix_row_t;
 | 
				
			||||||
#elif (MATRIX_COLS <= 16)
 | 
					#elif (MATRIX_COLS <= 16)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue