refactor: remove commented-out spoolman and filaman data from api.cpp
This commit is contained in:
parent
fa74832fb9
commit
150f92484a
25
src/api.cpp
25
src/api.cpp
@ -12,31 +12,6 @@ struct SendToApiParams {
|
|||||||
String updatePayload;
|
String updatePayload;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
// Spoolman Data
|
|
||||||
{
|
|
||||||
"version":"1.0",
|
|
||||||
"protocol":"openspool",
|
|
||||||
"color_hex":"AF7933",
|
|
||||||
"type":"ABS",
|
|
||||||
"min_temp":175,
|
|
||||||
"max_temp":275,
|
|
||||||
"brand":"Overture"
|
|
||||||
}
|
|
||||||
|
|
||||||
// FilaMan Data
|
|
||||||
{
|
|
||||||
"version":"1.0",
|
|
||||||
"protocol":"openspool",
|
|
||||||
"color_hex":"AF7933",
|
|
||||||
"type":"ABS",
|
|
||||||
"min_temp":175,
|
|
||||||
"max_temp":275,
|
|
||||||
"brand":"Overture",
|
|
||||||
"sm_id":
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
JsonDocument fetchSingleSpoolInfo(int spoolId) {
|
JsonDocument fetchSingleSpoolInfo(int spoolId) {
|
||||||
HTTPClient http;
|
HTTPClient http;
|
||||||
String spoolsUrl = spoolmanUrl + apiUrl + "/spool/" + spoolId;
|
String spoolsUrl = spoolmanUrl + apiUrl + "/spool/" + spoolId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user