This commit is contained in:
D.R.racer 2022-09-01 16:17:13 +02:00
parent 37b50477cd
commit 0537908d8c
2 changed files with 4 additions and 6 deletions

View File

@ -436,7 +436,7 @@ pStrBegin[*nLength] = '\0';
return pStrBegin; return pStrBegin;
} }
void printer_smodel_check(const char *pStrPos) { void printer_smodel_check(char *pStrPos) {
char* pResult; char* pResult;
size_t nLength,nPrinterNameLength; size_t nLength,nPrinterNameLength;

View File

@ -1,5 +1,5 @@
#ifndef UTIL_H #pragma once
#define UTIL_H #include <stdint.h>
extern const char* FW_VERSION_STR_P(); extern const char* FW_VERSION_STR_P();
@ -104,7 +104,7 @@ extern ClCheckGcode oCheckGcode;
void fCheckModeInit(); void fCheckModeInit();
void nozzle_diameter_check(uint16_t nDiameter); void nozzle_diameter_check(uint16_t nDiameter);
void printer_model_check(uint16_t nPrinterModel); void printer_model_check(uint16_t nPrinterModel);
void printer_smodel_check(const char* pStrPos); void printer_smodel_check(char* pStrPos);
void fw_version_check(const char *pVersion); void fw_version_check(const char *pVersion);
void gcode_level_check(uint16_t nGcodeLevel); void gcode_level_check(uint16_t nGcodeLevel);
@ -112,5 +112,3 @@ void fSetMmuMode(bool bMMu);
#define IP4_STR_SIZE 16 #define IP4_STR_SIZE 16
extern void ip4_to_str(char* dest, uint8_t* IP); extern void ip4_to_str(char* dest, uint8_t* IP);
#endif /* UTIL_H */