forked from mirrors/qmk_userspace
		
	Fix build failures for bastardkb/tbk and jels/boaty (#19152)
		
	This commit is contained in:
		
					parent
					
						
							
								6ed605a614
							
						
					
				
			
			
				commit
				
					
						8f9b49dc5b
					
				
			
		
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -15,9 +15,10 @@
 | 
				
			||||||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "quantum.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// clang-format off
 | 
					// clang-format off
 | 
				
			||||||
#define LAYOUT_split_4x6_5( \
 | 
					#define LAYOUT_split_4x6_5( \
 | 
				
			||||||
    k00, k01, k02, k03, k04, k05,            k55, k54, k53, k52, k51, k50, \
 | 
					    k00, k01, k02, k03, k04, k05,            k55, k54, k53, k52, k51, k50, \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -773,7 +773,7 @@ def avr_processor_rules(info_data, rules):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    info_data['processor_type'] = 'avr'
 | 
					    info_data['processor_type'] = 'avr'
 | 
				
			||||||
    info_data['platform'] = rules['ARCH'] if 'ARCH' in rules else 'unknown'
 | 
					    info_data['platform'] = rules['ARCH'] if 'ARCH' in rules else 'unknown'
 | 
				
			||||||
    info_data['protocol'] = 'V-USB' if rules.get('MCU') in VUSB_PROCESSORS else 'LUFA'
 | 
					    info_data['protocol'] = 'V-USB' if info_data['processor'] in VUSB_PROCESSORS else 'LUFA'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if 'bootloader' not in info_data:
 | 
					    if 'bootloader' not in info_data:
 | 
				
			||||||
        info_data['bootloader'] = 'atmel-dfu'
 | 
					        info_data['bootloader'] = 'atmel-dfu'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue