Fix PR1201 nxstyle issues.
This commit is contained in:
parent
d001c82bc6
commit
36f54e280f
@ -95,10 +95,11 @@ int stm32_cs4344_initialize(int minor)
|
|||||||
audinfo("minor %d\n", minor);
|
audinfo("minor %d\n", minor);
|
||||||
DEBUGASSERT(minor >= 0 && minor <= 25);
|
DEBUGASSERT(minor >= 0 && minor <= 25);
|
||||||
|
|
||||||
/* Have we already initialized? Since we never uninitialize we must prevent
|
/* Have we already initialized? Since we never uninitialize we must
|
||||||
* multiple initializations. This is necessary, for example, when the
|
* prevent multiple initializations. This is necessary, for example,
|
||||||
* touchscreen example is used as a built-in application in NSH and can be
|
* when the touchscreen example is used as a built-in application in
|
||||||
* called numerous time. It will attempt to initialize each time.
|
* NSH and can be called numerous time. It will attempt to initialize
|
||||||
|
* each time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!initialized)
|
if (!initialized)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user