1
0
forked from me/IronOS

Add rough russian

This commit is contained in:
Ben V. Brown
2017-11-04 14:37:47 +11:00
parent d7a9e1a9ea
commit afa8257bce
4 changed files with 66 additions and 37 deletions

View File

@@ -86,6 +86,7 @@ void OLED::refresh() {
screenBuffer[12] = 0x40; //start of data marker
taskENTER_CRITICAL();
//Because I2C is shared, we cant task switch in the middle of the xfer
HAL_I2C_Master_Transmit(i2c, DEVICEADDR_OLED, screenBuffer, 12 + 96 * 2 + 1, 0xFFFF);
taskEXIT_CRITICAL();