utils.h 562 B

123456789101112131415161718
  1. #pragma once
  2. #include <flip_social.h>
  3. // Below added by Derek Jamison
  4. // FURI_LOG_DEV will log only during app development. Be sure that Settings/System/Log Device is "LPUART"; so we dont use serial port.
  5. #ifdef DEVELOPMENT
  6. #define FURI_LOG_DEV(tag, format, ...) furi_log_print_format(FuriLogLevelInfo, tag, format, ##__VA_ARGS__)
  7. #define DEV_CRASH() furi_crash()
  8. #else
  9. #define FURI_LOG_DEV(tag, format, ...)
  10. #define DEV_CRASH()
  11. #endif
  12. typedef enum FlipSocialCustomEvent FlipSocialCustomEvent;
  13. enum FlipSocialCustomEvent
  14. {
  15. FlipSocialCustomEventProcess,
  16. };