Allow use when ``split`` is not defined
				
					
				
			This commit is contained in:
		@@ -190,6 +190,7 @@ class Oled(Extension):
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
    def during_bootup(self, keyboard):
 | 
			
		||||
        if self._split is not None:
 | 
			
		||||
            if self._split.split_side == 1:
 | 
			
		||||
                self.split_side = 'L'
 | 
			
		||||
                self._flip = self._flip_left
 | 
			
		||||
@@ -208,7 +209,6 @@ class Oled(Extension):
 | 
			
		||||
            brightness=self._brightness,
 | 
			
		||||
        )
 | 
			
		||||
        self.render_oled(0)
 | 
			
		||||
        print(self.split_side)
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
    def before_matrix_scan(self, sandbox):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user