fix i2c read + fix ds3231 temp + fix ssd1306 send

This commit is contained in:
Zaltora 2017-01-30 10:10:52 +01:00
parent f135752523
commit c5b480995d
3 changed files with 3 additions and 2 deletions

View file

@ -256,6 +256,7 @@ int ssd1306_load_frame_buffer(const ssd1306_t *dev, uint8_t buf[])
{
if(dev->screen == SH1106_SCREEN && i%dev->width == 0) sh1106_go_coordinate(dev,0,i/dev->width);
i2c_send(dev, 0x40, buf ? &buf[i] : tab, 16);
i+=15 ;
}
break;
#endif