Skip to content

Commit

Permalink
test for fixing issue #2 (swim error 0x04)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefaandesmet2003 committed Apr 20, 2022
1 parent 80e039d commit 6ed6f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
platform = ststm32
board = bluepill_f103c8
framework = libopencm3
build_unflags = -Os
;build_unflags = -Os
build_flags = -g
monitor_speed = 115200
1 change: 1 addition & 0 deletions src/SWIM.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ static uint8_t SWIM_HW_Out(uint8_t cmd, uint8_t bitlen, uint16_t retry_cnt)

retry:

memset((void*) SWIM_DMA_IN_Buffer,0,24); // sds test
SWIM_IN_TIMER_RISE_DMA_INIT(bitlen + 3, (uint32_t) SWIM_DMA_IN_Buffer);

*ptr++ = SWIM_PULSE_0;
Expand Down

0 comments on commit 6ed6f73

Please sign in to comment.