Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed May 11, 2023
1 parent d29dd9a commit fe86645
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions adafruit_bno08x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ def parse_sensor_id(buffer):


def _parse_command_response(report_bytes):

# CMD response report:
# 0 Report ID = 0xF1
# 1 Sequence number
Expand Down Expand Up @@ -383,7 +382,6 @@ def __init__(self, packet_bytes):
self.data = packet_bytes[_BNO_HEADER_LEN:data_end_index]

def __str__(self):

length = self.header.packet_byte_count
outstr = "\n\t\t********** Packet *************\n"
outstr += "DBG::\t\t HEADER:\n"
Expand Down Expand Up @@ -746,7 +744,6 @@ def calibration_status(self):
return self._magnetometer_accuracy

def _send_me_command(self, subcommand_params):

start_time = time.monotonic()
local_buffer = self._command_buffer
_insert_command_request_report(
Expand Down
1 change: 0 additions & 1 deletion examples/bno08x_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
bno.enable_feature(BNO_REPORT_ROTATION_VECTOR)

while True:

time.sleep(0.5)
print("Acceleration:")
accel_x, accel_y, accel_z = bno.acceleration # pylint:disable=no-member
Expand Down

0 comments on commit fe86645

Please sign in to comment.