Welcome to mirror list, hosted at ThFree Co, Russian Federation.

GCodeChannel.h « GCodes « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7ea8434a559a85c5f099f74aa033ef81e50905e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * 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
#ifdef USB
# undef USB
#endif

NamedEnum(GCodeChannel, uint8_t, HTTP, Telnet, File, USB, Aux, Trigger, Queue, LCD, SBC, Daemon, Aux2, Autopause);

constexpr size_t NumGCodeChannels = GCodeChannel::NumValues;

#endif