blob: cc36accac2b3f5f3e3688d9233f84515ba31b2ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* GCodeChannel.h
*
* Created on: 04 Jul 2019
* Author: Christian
*/
#ifndef SRC_GCODES_GCODEBUFFER_CODECHANNEL_H_
#define SRC_GCODES_GCODEBUFFER_CODECHANNEL_H_
#include <RepRapFirmware.h>
#include <General/NamedEnum.h>
// The Microchip device library for SAME5x defines USB as the USB peripheral.
// We can't change the channel name to something else because it breaks compatibility with DSF, so #undef it here
#undef USB
NamedEnum(GCodeChannel, uint8_t, HTTP, Telnet, File, USB, Aux, Trigger, Queue, LCD, SBC, Daemon, Aux2, Autopause);
constexpr size_t NumGCodeChannels = GCodeChannel::NumValues;
#endif
|