Skip to content

Commit

Permalink
missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 4, 2023
1 parent 2f6cf19 commit 78f7a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/devices/shields/xiao-expansion-board.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ select "Seeed Xiao ESP32-C3 Expansion board".
import { XiaoExpansionBoard, startCharacterScreen } from "@devicescript/drivers"
const shield = new XiaoExpansionBoard()

const display = await startCharacterScreen(shield.startDisplay())
const display = await startCharacterScreen(await shield.startDisplay())
const buzzer = await shield.startBuzzer()
const button = await shield.startButton()
```

0 comments on commit 78f7a05

Please sign in to comment.