Skip to content

Commit

Permalink
Fix/web flash (#2)
Browse files Browse the repository at this point in the history
* ししかわ版のコミットの特定ファイルのみを取り込み(stack-chan/stack-chan@af6bea0)

* "npm run format:fix"を実行してフォーマットを修正
  • Loading branch information
KuraZuzu authored May 15, 2024
1 parent 7f0ecfe commit ea8ed8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firmware/stackchan/drivers/dynamixel-driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PControl {
async init() {
const result = await this.servo.readPresentPosition()
if (result.success && result.value > 4096) {
this._offset = 4096;
this._offset = 4096
}
this.goalPosition = 2048
await this.servo.setOperatingMode(OPERATING_MODE.CURRENT_BASED_POSITION)
Expand Down
4 changes: 2 additions & 2 deletions web/flash/manifest_esp32_m5stack_cores3.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": "1.0.0",
"builds": [
{
"chipFamily": "ESP32",
"chipFamily": "ESP32-S3",
"parts": [
{
"path": "tech.moddable.stackchan/com.m5stack.cores3/bootloader.bin",
"offset": 4096
"offset": 0
},
{
"path": "tech.moddable.stackchan/com.m5stack.cores3/partition-table.bin",
Expand Down

0 comments on commit ea8ed8b

Please sign in to comment.