dshot: fix bug preventing writing settings

This commit is contained in:
Jacob Dahl
2026-01-27 19:39:06 -09:00
parent 47bb1437e4
commit 6f8ba007d1
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ uint64 timestamp # time since system start (microseconds)
uint8 firmware # ESC firmware type (see ESC_FIRMWARE enum in MAVLink)
uint8 index # Index of the ESC (0 = ESC1, 1 = ESC2, etc, 255 = All)
uint16 length # Length of valid data
uint8[192] data # Raw ESC EEPROM data
uint32[6] write_mask # Bitmask indicating which bytes in the data array should be written (max 192 values)
uint8[64] data # Raw ESC EEPROM data
uint32[2] write_mask # Bitmask indicating which bytes in the data array should be written (max 64 values)
uint8 ORB_QUEUE_LENGTH = 8 # To support 8 queued up requests