Skip to content
Commit 505f460b authored by Gregory Nutt's avatar Gregory Nutt
Browse files

configs: Review all implementations of board_lcd_initialize(). The NuttX...

configs:  Review all implementations of board_lcd_initialize().  The NuttX convention is that all internal functions that return errors as an 'int' must return a negated errno value on failure and a non-negative value on success.  Most were right but eight of them had cloned logic that returns 1 on success and zero on failure... both of which are interpreted as success by the caller since they are non-negative.
parent 1a879a3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment