Fix incorrect storage size for loop counter
Fix incorrect storage size for loop counter

When drawing chart lines/points/columns, execution will stay in loop forever when point count > 255.
The loop counter i was set to uint8_t when it should be the same size as point_cnt, uint16_t.
littlevgl/lvgl,littlevgl/lvgl,littlevgl/lvgl,littlevgl/lvgl