Julesnaps / Mbed 2 deprecated Linefollowproject

Dependencies:   m3pi mbed

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");