Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 21:c3e256b18b96
- Parent:
- 20:76f94dec91d1
- Child:
- 22:5d3332fc4c5c
--- a/main.cpp Tue Oct 11 11:18:45 2022 +0000 +++ b/main.cpp Tue Oct 11 11:19:28 2022 +0000 @@ -34,7 +34,7 @@ // void PS_DisplayNumberofPS(void); // Display the final number on screen WIP void TE_CreateVoltageLog(void); // -void TE_VoltageLog(int count); // test funktion that write the woltage each time the battry is checked +void TE_LogVoltage(int count); // test funktion that write the woltage each time the battry is checked int main() { @@ -65,7 +65,7 @@ /* If cycle count divided by 100 does not have a rest. test if pit */ if (ccount % 100 == 0 && gotoPit == 0) { - TE_VoltageLog(ccount); + TE_LogVoltage(ccount); gotoPit = PitTest(); } @@ -272,7 +272,7 @@ } -void TE_VoltageLog(int count){ +void TE_LogVoltage(int count){ /* Create a pitlog file and test if it can open*/ FILE *fptr; /* voltagelog adres */ fptr = fopen(VOLTAGELOGPATH,"a");