Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: drivers: display: fix mono buffer size
Rounding errors due to the division of non-integrally divisible buffer sizes lead to the loss of one byte. This can be avoided with the DIV_ROUND_UP() macro. Signed-off-by: Stephan Linz <linz@li-pro.net>
- Loading branch information