Browse Source

Fixed missing cast.

woollybah 5 năm trước cách đây
mục cha
commit
ad6a8a5730
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      characterlcd.mod/characterlcd.bmx

+ 1 - 1
characterlcd.mod/characterlcd.bmx

@@ -647,7 +647,7 @@ Type THd44780 Implements IDisposable
 		End If
 		
 		' The character address is set in bits 3-5 of the command byte
-		SendCommand(SET_CG_RAM_ADDRESS_COMMAND | (location Shl 3))
+		SendCommand(Byte(SET_CG_RAM_ADDRESS_COMMAND | (location Shl 3)))
 		SendData(characterMap, characterMap.Length)
 	End Method