Skip to content

Commit

Permalink
Merge pull request #2 from niki-timofe/ibutton-rework
Browse files Browse the repository at this point in the history
onewire: support rewritten onewire host
  • Loading branch information
niki-timofe committed Mar 13, 2023
2 parents e9c04ae + a7bdc63 commit 85d73ef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: build
on: [push]
jobs:
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
- converted_to_draft
jobs:
build:
runs-on: ubuntu-latest
defaults:
Expand All @@ -15,7 +25,7 @@ jobs:
experimental: true
- channel: release
experimental: false
continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.experimental || github.event.pull_request && github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion onewire/onewire_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void onewire_worker_search(OneWireWorker* instance) {
furi_hal_power_enable_otg();

while(instance->state == OneWireWorkerSearch) {
if(!onewire_host_search(instance->onewire_host, onewire_device->address, NORMAL_SEARCH)) {
if(!onewire_host_search(instance->onewire_host, onewire_device->address, OneWireHostSearchModeNormal)) {
onewire_host_reset_search(instance->onewire_host);
furi_delay_ms(100);
continue;
Expand Down

0 comments on commit 85d73ef

Please sign in to comment.