Преглед изворни кода

Remove useless function EEPROM_read_st

Yuri D'Elia пре 2 година
родитељ
комит
66ee9a295f
1 измењених фајлова са 0 додато и 11 уклоњено
  1. 0 11
      Firmware/stepper.cpp

+ 0 - 11
Firmware/stepper.cpp

@@ -1559,17 +1559,6 @@ void digitalPotWrite(int address, int value) // From Arduino DigitalPotControl e
 }
 #endif
 
-void EEPROM_read_st(int pos, uint8_t* value, uint8_t size)
-{
-    do
-    {
-        *value = eeprom_read_byte((unsigned char*)pos);
-        pos++;
-        value++;
-    }while(--size);
-}
-
-
 void st_current_init() //Initialize Digipot Motor Current
 {
 #ifdef MOTOR_CURRENT_PWM_XY_PIN