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

ClosedLoop.h « ClosedLoop « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 156f0efc4732a3062b779083235f74fd46a7af42 (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
25
26
/*
 * ClosedLoop.h
 *
 *  Created on: 19 Mar 2021
 *      Author: Louis
 */

#ifndef SRC_CLOSEDLOOP_CLOSEDLOOP_H
#define SRC_CLOSEDLOOP_CLOSEDLOOP_H

#include <RepRapFirmware.h>

#if SUPPORT_CAN_EXPANSION
# include <GCodes/GCodeException.h>

class CanMessageClosedLoopData;

namespace ClosedLoop
{
	GCodeResult StartDataCollection(DriverId id, GCodeBuffer&, const StringRef&) THROWS(GCodeException) pre(id.IsRemote());
	void ProcessReceivedData(CanAddress src, const CanMessageClosedLoopData& msg, size_t msgLen) noexcept;
}

#endif

#endif	// SRC_CLOSEDLOOP_CLOSEDLOOP_H