Skip to content
Snippets Groups Projects
Commit 92461101 authored by David Sidrane's avatar David Sidrane Committed by Lorenz Meier
Browse files

samv7:tone_alarm refactor for Cdev

parent 75d7800d
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ extern "C" __EXPORT int tone_alarm_main(int argc, char *argv[]);
ToneAlarm::ToneAlarm() :
CDev(TONEALARM0_DEVICE_PATH),
CDev(TONEALARM0_DEVICE_PATH),
_running(false),
_should_run(true),
_play_tone(false),
......@@ -289,7 +289,6 @@ int ToneAlarm::init()
/* make sure the timer is running */
rCR1 = GTIM_CR1_CEN;
#endif
DEVICE_DEBUG("ready");
_running = true;
work_queue(HPWORK, &_work, (worker_t)&ToneAlarm::next_trampoline, this, 0);
return OK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment