Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
475 B

  1. /*
  2. TERMINAL MODULE
  3. Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
  4. */
  5. #pragma once
  6. #if TERMINAL_SUPPORT
  7. #include "libs/EmbedisWrap.h"
  8. using embedis_command_f = void (*)(Embedis*);
  9. void terminalOK();
  10. void terminalError(const String& error);
  11. void terminalRegisterCommand(const String& name, embedis_command_f func);
  12. void terminalInject(void *data, size_t len);
  13. Stream& terminalSerial();
  14. void terminalSetup();
  15. #endif // TERMINAL_SUPPORT == 1