diff --git a/TODO.md b/TODO.md index dbedabe..3a0e8cf 100644 --- a/TODO.md +++ b/TODO.md @@ -15,7 +15,8 @@ * Multiple alarms. # Time -* Accurate within a couple seconds. `;)` +* Accurate within a couple seconds. + It keeps accruate time, just doesn't display it. `;)` * BLE sync... * NTP sync. * GPS sync. diff --git a/scripts/jebbatime-build b/scripts/jebbatime-build index 7d5e991..666713f 100755 --- a/scripts/jebbatime-build +++ b/scripts/jebbatime-build @@ -11,5 +11,5 @@ make mrproper make clean BOARD=pinetime make submodules -make all BOARD=pinetime +make -j`nproc` all BOARD=pinetime diff --git a/wasp/boards/pinetime/watch.py.in b/wasp/boards/pinetime/watch.py.in index 1cd4589..5d8be2d 100644 --- a/wasp/boards/pinetime/watch.py.in +++ b/wasp/boards/pinetime/watch.py.in @@ -21,7 +21,6 @@ import draw565 from machine import I2C from machine import Pin -#from machine import Signal from machine import SPI from drivers.battery import Battery @@ -31,8 +30,6 @@ from drivers.st7789 import ST7789_SPI from drivers.vibrator import Vibrator from flash.flash_spi import FLASH -from ubluepy import uart_connected as connected - class Backlight(object): lo = Pin("BL_LO", Pin.OUT, value=0) mid = Pin("BL_MID", Pin.OUT, value=1) diff --git a/wasp/boards/simulator/main.py b/wasp/boards/simulator/main.py index 9064c64..9d93d31 100644 --- a/wasp/boards/simulator/main.py +++ b/wasp/boards/simulator/main.py @@ -17,7 +17,6 @@ wasp.system.blank_after = 3600 # Adopt a basic all-orange theme #wasp.system.set_theme( -# b'\xff\x00' # ble # b'\xff\x00' # scroll-indicator # b'\xff\x00' # battery # b'\xff\x00' # status-clock diff --git a/wasp/wasp.py b/wasp/wasp.py index 2f611d1..b1e4cae 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -115,7 +115,6 @@ class Manager(): self.notifications = {} self._theme = ( - b'\x7b\xef' # ble b'\x7b\xef' # scroll-indicator b'\x7b\xef' # battery b'\xe7\x3c' # status-clock @@ -555,8 +554,7 @@ class Manager(): def theme(self, theme_part: str) -> int: """Returns the relevant part of theme. For more see ../tools/themer.py""" - theme_parts = ("ble", - "scroll-indicator", + theme_parts = ("scroll-indicator", "battery", "status-clock", "notify-icon", diff --git a/wasp/widgets.py b/wasp/widgets.py index 970ab74..376ce36 100644 --- a/wasp/widgets.py +++ b/wasp/widgets.py @@ -137,7 +137,6 @@ class NotificationBar: (x, y) = self._pos if wasp.watch.connected(): - draw.blit(icons.blestatus, x, y, fg=wasp.system.theme('ble')) if wasp.system.notifications: draw.blit(icons.notification, x+22, y, fg=wasp.system.theme('notify-icon'))