Finalized
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							8c734e1952
						
					
				
				
					commit
					f475adf23f
				
			@@ -149,7 +149,6 @@ class Oled(Extension):
 | 
			
		||||
 | 
			
		||||
        for view in self._views:
 | 
			
		||||
            if self._dark is False:
 | 
			
		||||
                if view[3] == self.split_side or view[3] is None:
 | 
			
		||||
                if view[4] == layer or view[4] is None:
 | 
			
		||||
                    if view[5] == OledEntryType.TXT:
 | 
			
		||||
                        splash.append(
 | 
			
		||||
@@ -199,6 +198,11 @@ class Oled(Extension):
 | 
			
		||||
                self._flip = self._flip_right
 | 
			
		||||
        else:
 | 
			
		||||
            self.split_side = None
 | 
			
		||||
 | 
			
		||||
        for idx, view in enumerate(self._views):
 | 
			
		||||
            if view[3] != self.split_side and view[3] is not None:
 | 
			
		||||
                del self._views[idx]
 | 
			
		||||
 | 
			
		||||
        displayio.release_displays()
 | 
			
		||||
        i2c = busio.I2C(keyboard.SCL, keyboard.SDA)
 | 
			
		||||
        self._display = adafruit_displayio_ssd1306.SSD1306(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user