25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
447 B

  1. #pragma once
  2. struct sleepTimings_t {
  3. uint8_t speed;
  4. uint16_t seconds;
  5. };
  6. #define SLEEP_DEFAULT_TIME_SECONDS 1800
  7. #define GPS_DEFAULT_INTERMEDIATE_TIMEOUT_MS 10000
  8. #define GPS_DEFAULT_TOTAL_TIMEOUT_MS 30000
  9. namespace config {
  10. static const sleepTimings_t defaultSleepTimings[] PROGMEM = {
  11. { 5, SLEEP_DEFAULT_TIME_SECONDS },
  12. { 10, 1200 },
  13. { 20, 600 },
  14. { 30, 540 },
  15. { 50, 480 },
  16. { 80, 240 },
  17. { 100, 210 },
  18. { 180, 180 },
  19. };
  20. }