Fix PR1201 nxstyle issues.

This commit is contained in:
Ouss4 2020-06-05 18:41:58 +01:00 committed by Alan Carvalho de Assis
parent d001c82bc6
commit 36f54e280f
2 changed files with 9 additions and 8 deletions

View File

@ -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)