Skip to content

Commit

Permalink
fix: removing comments for formatting restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
Karel Kalthoff committed Mar 31, 2017
1 parent 4cc9c80 commit abeb202
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hardware/bean/avr/cores/bean/Bean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,11 @@ void BeanClass::enableWakeOnAccelerometer(uint8_t sources) {

uint8_t BeanClass::getAccelerationRange(void) {
uint8_t value;
//Serial.accelRegisterRead(REG_G_SETTING, 1, &value);
Serial.accelRangeRead(&value);
return value;
}

void BeanClass::setAccelerationRange(uint8_t range) {
//Serial.accelRegisterWrite(REG_G_SETTING, range);
Serial.accelRangeSet(range);
}

Expand Down

0 comments on commit abeb202

Please sign in to comment.