diff --git a/include/EZ-Template/auton.hpp b/include/EZ-Template/auton.hpp index 448e1f51..50c384fd 100644 --- a/include/EZ-Template/auton.hpp +++ b/include/EZ-Template/auton.hpp @@ -12,7 +12,7 @@ class Auton { public: Auton(); Auton(std::string, std::function); - std::string Name; + std::string name; std::function auton_call; private: diff --git a/src/EZ-Template/auton.cpp b/src/EZ-Template/auton.cpp index c0a70f3e..f2270ecb 100644 --- a/src/EZ-Template/auton.cpp +++ b/src/EZ-Template/auton.cpp @@ -7,10 +7,10 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. #include "main.h" Auton::Auton() { - Name = ""; + name = ""; auton_call = nullptr; } Auton::Auton(std::string name, std::function callback) { - Name = name; + name = name; auton_call = callback; } diff --git a/src/EZ-Template/auton_selector.cpp b/src/EZ-Template/auton_selector.cpp index 78b16aac..97ae97cd 100644 --- a/src/EZ-Template/auton_selector.cpp +++ b/src/EZ-Template/auton_selector.cpp @@ -23,7 +23,7 @@ void AutonSelector::print_selected_auton() { if (auton_count == 0) return; for (int i = 0; i < 8; i++) pros::lcd::clear_line(i); - ez::screen_print("Page " + std::to_string(current_auton_page + 1) + "\n" + Autons[current_auton_page].Name); + ez::screen_print("Page " + std::to_string(current_auton_page + 1) + "\n" + Autons[current_auton_page].name); } void AutonSelector::call_selected_auton() {