您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
334 B

  1. #pragma once
  2. #include "Positions.h"
  3. #define ALERT_BATTERY_LEVEL_1 1
  4. #define ALERT_BATTERY_LEVEL_2 2
  5. #define ALERT_RTC_FAILURE 3
  6. namespace alerts {
  7. extern uint8_t _alerts;
  8. uint8_t getTriggered(PositionEntryMetadata &metadata);
  9. inline void add(uint8_t mask) { _alerts |= mask; }
  10. void clear(PositionEntryMetadata &metadata);
  11. }