/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / MEMS library prototypes

Username:     
Password:     
             

Forum

# 1   2008-06-27 16:45:46 MEMS library prototypes

kalbun
New member
From: Firenze, Italy
Registered: 2008-06-25
Posts: 4
Website

MEMS library prototypes

Hello, I am examining and modifying the MEMS logger application, and reading the file circle_api.h I suppose to have found a bug:

// Prototypes
#define MEMS_GetRotation(a)               ((tCircleFunc1)(Circle_API [MEMS_GET_ROTATION_ID])) ((u32)(a))      //  void MEMS_GetRotation(Rotate_H12_V_Match_TypeDef * H12);
#define MEMS_SetNeutral()                 ((tCircleFunc0)(Circle_API [MEMS_GET_ROTATION_ID])) ()                       //  void MEMS_SetNeutral( void );

I suppose the second line should refer to MEMS_SET_NEUTRAL_ID

Offline

 

# 2   2008-06-27 17:27:21 MEMS library prototypes

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: MEMS library prototypes

You are right. I believe that I already heard about this bug, but it was still wrong on our master. Fixed now...
Thanks

Offline

 

Board footer