/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Error in circle_api.h

Username:     
Password:     
             

Forum

# 1   2009-06-01 09:35:50 Error in circle_api.h

klausr
Member
Registered: 2008-01-19
Posts: 18

Error in circle_api.h

Hello,

today I found (IMHO) a small error in circle_api.h:
The function "char* UTIL_GetVersion( void )" is there defined as:

#define UTIL_GetVersion() (u32) (((tCircleFunc0) ...

shouldn't it be:

#define UTIL_GetVersion() (const char*) (((tCircleFunc0) ...

It doesn't bother as long as you don't include <string.h>, because then it throws a warning if you use the Application.c skeleton.

-Klaus

Offline

 

# 2   2009-06-03 09:01:00 Error in circle_api.h

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

Re: Error in circle_api.h

Thanks for the report. We fix it.

Offline

 

Board footer