Comments and documentation fixes.
This commit is contained in:
parent
b7459a12c1
commit
87970a88a4
6 changed files with 26 additions and 7 deletions
|
@ -80,6 +80,11 @@ static int value(int type)
|
|||
int32_t ret_val = 0;
|
||||
volatile st_lib_axes_raw_typedef axes_raw_data;
|
||||
|
||||
/* NOTE: this is a demo of mapping ST Nucleo sensors on Contiki sensor API.
|
||||
* For a real use case of sensors like acceleration, magneto and gyroscope,
|
||||
* it is better to directly call the ST lib to get the three value (X/Y/Z)
|
||||
* at once.
|
||||
*/
|
||||
st_lib_bsp_imu_6axes_g_get_axes_raw(&axes_raw_data);
|
||||
|
||||
switch (type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue