Add documentation, cleanup
This commit is contained in:
@@ -55,6 +55,12 @@ void PwmControl::enableManualControl() {
|
||||
|
||||
void PwmControl::reset() {
|
||||
ofstream ostrm(mEnablePath, ios::trunc);
|
||||
|
||||
ostrm << mInitialEnable;
|
||||
ostrm.close();
|
||||
|
||||
ostrm.open(mModePath, ios::trunc);
|
||||
ostrm << mInitialMode;
|
||||
|
||||
ostrm.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user