git-svn-id: svn://db.shs.com.ru/pip@816 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -458,7 +458,6 @@ bool _PITimerImp_Pool::stopTimer(bool wait) {
|
||||
|
||||
|
||||
PITimer::PITimer(): PIObject() {
|
||||
piMonitor.timers++;
|
||||
#ifdef FREERTOS
|
||||
imp_mode = PITimer::Thread;
|
||||
#else
|
||||
@@ -469,14 +468,12 @@ PITimer::PITimer(): PIObject() {
|
||||
|
||||
|
||||
PITimer::PITimer(PITimer::TimerImplementation ti): PIObject() {
|
||||
piMonitor.timers++;
|
||||
imp_mode = ti;
|
||||
initFirst();
|
||||
}
|
||||
|
||||
|
||||
PITimer::PITimer(TimerEvent slot, void * data, PITimer::TimerImplementation ti): PIObject() {
|
||||
piMonitor.timers++;
|
||||
imp_mode = ti;
|
||||
initFirst();
|
||||
data_t = data;
|
||||
@@ -485,7 +482,6 @@ PITimer::PITimer(TimerEvent slot, void * data, PITimer::TimerImplementation ti):
|
||||
|
||||
|
||||
//PITimer::PITimer(const PITimer & other): PIObject() {
|
||||
// piMonitor.timers++;
|
||||
// imp_mode = other.imp_mode;
|
||||
// initFirst();
|
||||
// data_t = other.data_t;
|
||||
@@ -494,7 +490,6 @@ PITimer::PITimer(TimerEvent slot, void * data, PITimer::TimerImplementation ti):
|
||||
|
||||
|
||||
PITimer::~PITimer() {
|
||||
piMonitor.timers--;
|
||||
destroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user