Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

22 lignes
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();