1
0
Fork 0

rm some ble

jebbatime
ml server 2021-06-14 13:38:47 -06:00
parent ada48a8715
commit 091ea48b50
6 changed files with 4 additions and 10 deletions

View File

@ -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.

View File

@ -11,5 +11,5 @@ make mrproper
make clean BOARD=pinetime
make submodules
make all BOARD=pinetime
make -j`nproc` all BOARD=pinetime

View File

@ -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)

View File

@ -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

View File

@ -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",

View File

@ -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'))