summaryrefslogtreecommitdiff
blob: 63a47f1bceb977fde56166f46c8be0218108316c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -ru graphlcd-0.1.3-orig/display.c graphlcd-0.1.3/display.c
--- graphlcd-0.1.3-orig/display.c	2006-12-03 16:18:11.526195337 +0100
+++ graphlcd-0.1.3/display.c	2006-12-03 16:18:47.994898923 +0100
@@ -2025,7 +2025,7 @@
 		else
 		{
 			if (GraphLCDSetup.BrightnessDelay < 1
-				|| ((TimeMs() - LastTimeBrightness) > (uint64) (GraphLCDSetup.BrightnessDelay*1000)))
+				|| ((TimeMs() - LastTimeBrightness) > (uint64_t) (GraphLCDSetup.BrightnessDelay*1000)))
 			{
 				LCD->SetBrightness(GraphLCDSetup.BrightnessIdle);
 				nCurrentBrightness = GraphLCDSetup.BrightnessIdle;
diff -ru graphlcd-0.1.3-orig/display.h graphlcd-0.1.3/display.h
--- graphlcd-0.1.3-orig/display.h	2006-12-03 16:18:11.526195337 +0100
+++ graphlcd-0.1.3/display.h	2006-12-03 16:18:40.497109608 +0100
@@ -200,7 +200,7 @@
 
 	/** Set Brightness depends user activity */
 	void SetBrightness();
-	uint64 LastTimeBrightness;
+	uint64_t LastTimeBrightness;
 	int nCurrentBrightness;
 	bool bBrightnessActive;
 };
diff -ru graphlcd-0.1.3-orig/tags graphlcd-0.1.3/tags
--- graphlcd-0.1.3-orig/tags	2006-12-03 16:18:11.526195337 +0100
+++ graphlcd-0.1.3/tags	2006-12-03 16:19:05.319033056 +0100
@@ -71,7 +71,7 @@
 LIBDIR	Makefile	/^LIBDIR = ..\/..\/lib$/;"	m
 LastState	display.h	/^	ThreadState LastState;$/;"	m	class:cGraphLCDDisplay
 LastTime	display.h	/^	time_t LastTime;$/;"	m	class:cGraphLCDDisplay
-LastTimeBrightness	display.h	/^	uint64 LastTimeBrightness;$/;"	m	class:cGraphLCDDisplay
+LastTimeBrightness	display.h	/^	uint64_t LastTimeBrightness;$/;"	m	class:cGraphLCDDisplay
 LastTimeCheckSym	display.h	/^	time_t LastTimeCheckSym;$/;"	m	class:cGraphLCDDisplay
 LastTimeModSym	display.h	/^	time_t LastTimeModSym;$/;"	m	class:cGraphLCDDisplay
 Load	layout.c	/^bool cFontElement::Load(const std::string & url)$/;"	f	class:cFontElement