mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
libdsp: fix nxstyle errors
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* control/lib_motor_b16.c
|
||||
* libs/libdsp/lib_motor_b16.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
||||
@@ -110,7 +110,7 @@ void motor_observer_smo_init(FAR struct motor_observer_smo_f32_s *smo,
|
||||
|
||||
/* Store inverted err_max to avoid division */
|
||||
|
||||
smo->one_by_err_max = (1.0f/err_max);
|
||||
smo->one_by_err_max = (1.0f / err_max);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user