Commit Graph

8 Commits

Author SHA1 Message Date
Dean Lee
6476207009 add function write_file() (#2181)
* add function write_file()

* handle EAGIN & EWOULDBLOCK

* don't  handle errno
2020-09-21 16:10:38 +02:00
George Hotz
b62da571b4 UI 10x speedup with hardware antialias (#1787)
* enable MSAA, disable nvg antialias

* less opaque and clean up

Co-authored-by: Comma Device <device@comma.ai>
2020-06-29 13:54:23 -07:00
Willem Melching
ceba6fc675 Set brightness takes an int 2020-06-10 12:42:00 -07:00
Willem Melching
431690be1e Move helper function definition to top of file 2020-06-10 11:41:45 -07:00
Dean Lee
8ad1135e80 add set_brightness in framebuffer.h (#1659) 2020-06-10 10:28:18 -07:00
Adeeb
ab83e48ec4 Add pre-commit hooks (#1629) 2020-06-03 12:54:49 -07:00
Dean Lee
2fc3247343 close file descriptor (#1353)
* close file descriptor

* check return value
2020-04-13 15:09:48 -07:00
George Hotz
368a956b96 selfdrive/common 2020-01-17 11:01:02 -08:00