SmartMeter / TFT_ILI9163C_aydo

Files at this revision

API Documentation at this revision

Comitter:
peu605
Date:
Mon Jan 26 12:37:03 2015 +0000
Parent:
3:254e799c24ca
Child:
5:836673938ba7
Commit message:
add volatile to GPIO reg mask

Changed in this revision

TFT_ILI9163C.h Show annotated file Show diff for this revision Revisions of this file
--- a/TFT_ILI9163C.h	Mon Jan 26 10:58:11 2015 +0000
+++ b/TFT_ILI9163C.h	Mon Jan 26 12:37:03 2015 +0000
@@ -289,9 +289,9 @@
 	void		waitBufferFree();
 	
 	GPIO_TypeDef *cs_port_reg;
-	uint32_t cs_reg_mask;
+	volatile uint32_t cs_reg_mask;
 	GPIO_TypeDef *dc_port_reg;
-	uint32_t dc_reg_mask;
+	volatile uint32_t dc_reg_mask;
 	
 	// peripheral bit-band addresses
 //	volatile uint32_t *bb_cs_port;