/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / DRAW_DisplayTemp() usage

Username:     
Password:     
             

Forum

# 1   2008-02-14 18:17:26 DRAW_DisplayTemp() usage

armaniake
Member
From: USA, Texas
Registered: 2007-08-22
Posts: 38

DRAW_DisplayTemp() usage

Hi guys,

In my Application_Handler (), I cannot use DRAW_DisplayTemp() without generating a linker error:  undefined reference to `DRAW_DisplayTemp' .

I can however use with success other functions belonging to the draw.c file like:

DRAW_DisplayTime (60,15);
DRAW_DisplayVbat (60,0);

I'm a bit puzzled here as why the linker failed for DRAW_DisplayTemp() while it does not choke at DRAW_DisplayVbat() for instance. After all, these 3 functions are in the same file.

Any idea?

Thank you

Offline

 

# 2   2008-02-14 19:35:00 DRAW_DisplayTemp() usage

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

Re: DRAW_DisplayTemp() usage

DRAW_DisplayTemp exists in CircleOS, but it is not exported in circle_api.h.
The measured temperature was very unstable, and it was decided not to export it.
The measurement should be better in the next release (1.8) of the CircleOS thanks to a filtering suggested by Stewee.

Offline

 

Board footer