Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

22 linhas
439 B

  1. #pragma once
  2. #ifdef _DEBUG
  3. #include <ArduinoLog.h>
  4. #define VERBOSE(f) Log.verbose(F("[" LOGGER_NAME "::" f "]\n"))
  5. #define VERBOSE_MSG(f, msg) Log.verbose(F("[" LOGGER_NAME "::" f "] " msg "\n"))
  6. #define VERBOSE_FORMAT(f, msg, ...) Log.verbose(F["[" LOGGER_NAME "::" f "] " msg "\n"), __VA_ARGS__)
  7. #else
  8. #define DISABLE_LOGGING 1
  9. #define VERBOSE(f)
  10. #define VERBOSE(f, msg)
  11. #define VERBOSE(f, msg, ...)
  12. #endif
  13. void waitForSerial();