microbit: Further corrections to comment blocks
This commit is contained in:
parent
0e7a6979da
commit
db25d4c0c3
2 changed files with 5 additions and 5 deletions
|
@ -286,11 +286,11 @@ class MicroBitCompass : public MicroBitComponent
|
|||
|
||||
/**
|
||||
* Configure the compass to use the given calibration data.
|
||||
* Claibration data is essenutially the perceived zero offset of each axis of the compass.
|
||||
* After calibration should now take into account trimming errors in the deivce, hard iron offsets on the device
|
||||
* and local magnetic effects present at the time of claibration.
|
||||
* Calibration data is comprised of the perceived zero offset of each axis of the compass.
|
||||
* After calibration this should now take into account trimming errors in the magnetometer,
|
||||
* and any "hard iron" offsets on the device.
|
||||
*
|
||||
* @param The x, y and z xero offsets to use as calibration data
|
||||
* @param The x, y and z zero offsets to use as calibration data.
|
||||
*/
|
||||
void setCalibration(CompassSample calibration);
|
||||
|
||||
|
|
|
@ -257,7 +257,7 @@ void MicroBit::compassCalibrator(MicroBitEvent)
|
|||
if (perimeter[i].on)
|
||||
img.setPixelValue(perimeter[i].x, perimeter[i].y, 255);
|
||||
|
||||
// Update the flashing pixel at the users position, if
|
||||
// Update the pixel at the users position.
|
||||
img.setPixelValue(cursor.x, cursor.y, 255);
|
||||
|
||||
// Update the buffer to the screen.
|
||||
|
|
Loading…
Reference in a new issue