Editing CPP file
-
Ok. So my pi was taking 4 min to shut off when I clicked my button on my controlblock. The PowerSwitch.cpp file had t -3. So I edited it to shut off now. I saved the cpp file via sudo nano PowerSwitch.cpp. Question. What do I do next to make it work. Compile it somehow? I don't know Linux. Editing the file did nothing. I think I'm missing a step. Anyone know? Thanks so much!!0
-
you can re-run
make
to recompile the driver, followed bysudo make install
andsudo make installservice
.Alternative, you download and install the latest driver version. It has fixed the 3-4 Minute delay as well.
-
@petrockblog it worked!!! Thank you!!!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.