services.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * audio control callbacks
  3. *
  4. * (c) Sebastien 2019
  5. * Philippe G. 2019, philippe_44@outlook.com
  6. *
  7. * This program is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation, either version 3 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. *
  20. */
  21. #ifndef COMPONENTS_SERVICES_SERVICES_H_
  22. #define COMPONENTS_SERVICES_SERVICES_H_
  23. #include <driver/i2c.h>
  24. #include "esp_system.h"
  25. const i2c_config_t * services_get_i2c_config(int * i2c_port);
  26. esp_err_t services_store_i2c_config(const i2c_config_t * config, int i2c_system_port);
  27. void services_init(void);
  28. void display_init(char *welcome);
  29. #endif /* COMPONENTS_SERVICES_SERVICES_H_ */