Simplify page load
To reduce the chances of a serial buffer overflow
This commit is contained in:
@@ -12,11 +12,11 @@ Page notification
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
dim=brightness
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
@@ -51,16 +51,6 @@ Text notifi_label
|
||||
Text :
|
||||
Max. Text Size : 100
|
||||
|
||||
Text unavailable
|
||||
Attributes
|
||||
ID : 10
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 1
|
||||
|
||||
Button button_back
|
||||
Attributes
|
||||
ID : 6
|
||||
@@ -107,29 +97,6 @@ Timer swipestore
|
||||
swipex=tch0
|
||||
swipey=tch1
|
||||
|
||||
Timer wakeup_timer
|
||||
Attributes
|
||||
ID : 9
|
||||
Scope : local
|
||||
Period (ms): 100
|
||||
Enabled : yes
|
||||
|
||||
Events
|
||||
Timer Event
|
||||
if(dim<brightness)
|
||||
{
|
||||
dimdelta=brightness-dim
|
||||
dimdelta/=10
|
||||
if(dimdelta<1)
|
||||
{
|
||||
dimdelta=1
|
||||
}
|
||||
dim+=dimdelta
|
||||
}else
|
||||
{
|
||||
wakeup_timer.en=0
|
||||
}
|
||||
|
||||
TouchCap swipe
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
Reference in New Issue
Block a user