/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / a small error with using RTC

Username:     
Password:     
             

Forum

# 1   2010-11-02 09:27:54 a small error with using RTC

xuwa0800
Member
From: Sweden
Registered: 2010-05-20
Posts: 27

a small error with using RTC

in the function of ''static enum MENU_code MsgVersion(void)'' in application.c, the time variables are defined as "int hh,mm,ss,ss2;", but the source file RTC's functions'  parameters are "u8"(at least in OS 4.1). this will cause unpredictable results, and the delay time in function MsgVersion are not corret, parameters must be redefined as u8.

so if you can not get the expected results with RTC, this can be the problem.

/Wang


/Wang

Offline

 

# 2   2010-11-03 09:19:24 a small error with using RTC

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: a small error with using RTC

This bug is fixed in the 4.1 application template version.

Offline

 

Board footer