services.c 688 B

123456789101112131415161718192021222324252627
  1. /*
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #include <stdio.h>
  8. #include "battery.h"
  9. #include "led.h"
  10. #include "monitor.h"
  11. extern void battery_svc_init(void);
  12. extern void monitor_svc_init(void);
  13. extern void led_svc_init(void);
  14. static const char TAG[] = "services";
  15. /****************************************************************************************
  16. *
  17. */
  18. void services_init(void) {
  19. battery_svc_init();
  20. monitor_svc_init();
  21. led_svc_init();
  22. }