Skip to content

Commit

Permalink
fix: studio clearPanel over usb
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 9, 2024
1 parent 87f52b1 commit 6282b1b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/core/src/services/buttonsLcdDisplay/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,7 @@ export class DefaultButtonsLcdService implements ButtonsLcdDisplayService {
if (this.#deviceProperties.FULLSCREEN_PANELS > 0) {
// TODO - should this be a separate property?
for (let screenIndex = 0; screenIndex < this.#deviceProperties.FULLSCREEN_PANELS; screenIndex++) {
const buffer = new Uint8Array(1024)
buffer[0] = 0x03
buffer[1] = 0x05
buffer[2] = screenIndex // TODO - index
ps.push(this.#device.sendReports([buffer]))
ps.push(this.#device.sendFeatureReport(new Uint8Array([0x03, 0x05, screenIndex, 0, 0, 0])))
}
// TODO - clear rgb?
} else {
Expand Down

0 comments on commit 6282b1b

Please sign in to comment.