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.

21 lines
391 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 terminalRegisterCommand(const String& name, embedis_command_f func);
  10. void terminalInject(void *data, size_t len);
  11. Stream& terminalSerial();
  12. #endif // TERMINAL_SUPPORT == 1