Skip to content

Commit

Permalink
Driver for the new NOOK Glowlight Plus
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed May 29, 2019
1 parent 8a934e1 commit 3e2161d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/calibre/devices/nook/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -108,7 +109,7 @@ def post_open_callback(self):
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'
Expand Down

0 comments on commit 3e2161d

Please sign in to comment.