Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement logging library to remove dependency #4

Open
nijotz opened this issue Nov 2, 2016 · 1 comment
Open

Reimplement logging library to remove dependency #4

nijotz opened this issue Nov 2, 2016 · 1 comment
Assignees

Comments

@nijotz
Copy link
Owner

nijotz commented Nov 2, 2016

Arduino-logging-library also has an error that I have to fix:

diff --git a/Logging.cpp b/Logging.cpp
index aede239..b96a33c 100644
--- a/Logging.cpp
+++ b/Logging.cpp
@@ -8,8 +8,8 @@ void Logging::Init(int level, long baud){

 void Logging::Error(char* msg, ...){
     if (LOG_LEVEL_ERRORS <= _level) {
-               print ("ERROR: ",0);
         va_list args;
+               print ("ERROR: ", args);
         va_start(args, msg);
         print(msg,args);
     }
@nijotz
Copy link
Owner Author

nijotz commented Nov 3, 2016

also mixed tabs and spaces..

@nijotz nijotz self-assigned this Nov 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant