Skip to content

Commit 88e3790

Browse files
committed
Merge branch 'develop' of github.com:JF002/Pinetime into develop
2 parents afd5ac0 + 456a572 commit 88e3790

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

doc/buildAndProgram.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
To build this project, you'll need:
44
- A cross-compiler : [ARM-GCC (9-2020-q2-update)](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/9-2020-q2-update)
55
- The NRF52 SDK 15.3.0 : [nRF-SDK v15.3.0](https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip)
6+
- The `cbor` and `intelhex` modules for Python 3
67
- A reasonably recent version of CMake (I use 3.16.5)
78

89
## Build steps

src/displayapp/screens/StopWatch.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ bool StopWatch::Refresh() {
115115
// Init state when an user first opens the app
116116
// and when a stop/reset button is pressed
117117
case States::Init: {
118-
if (btnStopLap) {
118+
if (btnStopLap != nullptr) {
119119
lv_obj_del(btnStopLap);
120+
btnStopLap = nullptr;
120121
}
121122
// The initial default value
122123
lv_label_set_text(time, "00:00");

src/displayapp/screens/SystemInfo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen1() {
7070
"#FFFF00 InfiniTime#\n\n"
7171
"#444444 Version# %ld.%ld.%ld\n\n"
7272
"#444444 Build date#\n"
73-
"\t%s\n"
74-
"\t%s\n",
73+
"%s\n"
74+
"%s\n",
7575
Version::Major(),
7676
Version::Minor(),
7777
Version::Patch(),
@@ -242,4 +242,4 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen5() {
242242
lv_label_set_align(label, LV_LABEL_ALIGN_CENTER);
243243
lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0);
244244
return std::unique_ptr<Screen>(new Screens::Label(4, 5, app, label));
245-
}
245+
}

0 commit comments

Comments
 (0)