Browse Source
To play a power off tune, I needed to convert the file to C++, so that I could use the uORB::Publication. The current implementation starts playing the power off sound but then stops it as soon as the button is released. The problem is mostly that we only get an interrupt when the button is pressed or released but we don't seem to be able to poll it, at least not in the current state.master
2 changed files with 15 additions and 1 deletions
Loading…
Reference in new issue