mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
x11/hamclock: fix build on armv7
PR: 267439
This commit is contained in:
parent
c61b52fcef
commit
ba97dbab1e
1 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- ESPHamClock.ino.orig 2022-04-30 15:37:10.367129000 -0500
|
--- ESPHamClock.ino.orig 2022-07-02 11:59:16 UTC
|
||||||
+++ ESPHamClock.ino 2022-04-30 15:37:48.165833000 -0500
|
+++ ESPHamClock.ino
|
||||||
@@ -1,6 +1,9 @@
|
@@ -1,6 +1,9 @@
|
||||||
/* HamClock
|
/* HamClock
|
||||||
*/
|
*/
|
||||||
|
@ -10,3 +10,12 @@
|
||||||
|
|
||||||
// glue
|
// glue
|
||||||
#include "HamClock.h"
|
#include "HamClock.h"
|
||||||
|
@@ -1605,7 +1608,7 @@ static void drawUptime(bool force)
|
||||||
|
// draw two most significant units if change
|
||||||
|
if (upsecs < 60) {
|
||||||
|
prepUptime();
|
||||||
|
- tft.print(upsecs); tft.print(F("s "));
|
||||||
|
+ tft.print((long)upsecs); tft.print(F("s "));
|
||||||
|
} else if (upsecs < 3600) {
|
||||||
|
prepUptime();
|
||||||
|
tft.print(mins); tft.print(F("m "));
|
||||||
|
|
Loading…
Add table
Reference in a new issue