When thickness is an even number in the draw_line function, the color of the bottom rows of pixels of a horizontal line is incorrect. Also on a vertical line, but not on a diagonal line. When the thickess is an odd number, the color of the pixels on a horizontal or vertcal line are correct.
This code reproduces the bug:
import sensor
import time
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time=2000)
clock = time.clock()
while True:
clock.tick()
img = sensor.snapshot()
img.draw_line(100, 100, 200, 100, color = [0,0,180], thickness = 4)
img.draw_line(100, 100, 100, 200, color = [0,0,180], thickness = 4)
img.draw_line(100, 100, 200, 200, color = [0,0,180], thickness = 4)
print(clock.fps())