Skip to content

Commit

Permalink
pw_bluetooth: Normalize two OpCode command names
Browse files Browse the repository at this point in the history
For consistency with the rest of the opcode definitions, change
the names of two OpCode enum values:

  READ_CLASS_OFDEVICE => READ_CLASS_OF_DEVICE
  WRITE_CLASS_OFDEVICE => WRITE_CLASS_OF_DEVICE

Change-Id: I1d9ed6cab8eb223452e64ed50ecc23018463a37c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/259173
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Ben Lawson <[email protected]>
Docs-Not-Needed: Josh Conner <[email protected]>
Commit-Queue: Josh Conner <[email protected]>
  • Loading branch information
josh-conner authored and CQ Bot Account committed Jan 9, 2025
1 parent 5c4455c commit 7f196d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pw_bluetooth/public/pw_bluetooth/hci_common.emb
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ enum OpCode:
READ_INQUIRY_SCAN_ACTIVITY = 0x0C1D
-- Read Inquiry Scan Activity Command (v1.1) (BR/EDR)

READ_CLASS_OFDEVICE = 0x0C23
READ_CLASS_OF_DEVICE = 0x0C23
-- Read Class of Device Command (v1.1) (BR/EDR)

WRITE_CLASS_OFDEVICE = 0x0C24
WRITE_CLASS_OF_DEVICE = 0x0C24
-- Write Class Of Device Command (v1.1) (BR/EDR)

READ_TRANSMIT_POWER_LEVEL = 0x0C2D
Expand Down

0 comments on commit 7f196d0

Please sign in to comment.