Merge pull request #28 from muxa/bugfix/compilation-error

Fixed #16 (compilation error)
This commit is contained in:
cocktailyogi
2022-04-25 19:49:47 +02:00
committed by GitHub

View File

@@ -16,25 +16,25 @@ void initHardware(){
penServo.write(penState);
}
void inline loadPenPosFromEE() {
inline void loadPenPosFromEE() {
penUpPos = eeprom_read_word(penUpPosEEAddress);
penDownPos = eeprom_read_word(penDownPosEEAddress);
penState = penUpPos;
}
void inline storePenUpPosInEE() {
inline void storePenUpPosInEE() {
eeprom_update_word(penUpPosEEAddress, penUpPos);
}
void inline storePenDownPosInEE() {
inline void storePenDownPosInEE() {
eeprom_update_word(penDownPosEEAddress, penDownPos);
}
void inline sendAck(){
inline void sendAck(){
Serial.print("OK\r\n");
}
void inline sendError(){
inline void sendError(){
Serial.print("unknown CMD\r\n");
}