mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Driver for the new NOOK Glowlight Plus
This commit is contained in:
parent
8a934e19c6
commit
3e2161df68
@ -92,6 +92,7 @@ class NOOK_COLOR(NOOK):
|
||||
0x005, # Nook HD+
|
||||
0x007, # Glowlight from 2013
|
||||
0xb, # Glowlight from 2017
|
||||
0xc, # Glowlight from 2019
|
||||
]
|
||||
BCD = [0x216, 0x9999]
|
||||
|
||||
@ -108,7 +109,7 @@ class NOOK_COLOR(NOOK):
|
||||
product_id = self.device_being_opened[1]
|
||||
if DEBUG:
|
||||
prints('Opened NOOK with product id:', product_id)
|
||||
if product_id == 0xb:
|
||||
if product_id in (0xb, 0xc):
|
||||
if DEBUG:
|
||||
prints('Setting Nook upload directory to NOOK/My Files')
|
||||
self.EBOOK_DIR_MAIN = 'NOOK/My Files'
|
||||
|
Loading…
x
Reference in New Issue
Block a user