Skip to content

Commit

Permalink
add flush method for fe310 device
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat committed Jul 13, 2023
1 parent 1b729a1 commit 90cbe52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/machine/machine_fe310.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ func (uart *UART) writeByte(c byte) error {
return nil
}

func (uart *UART) flush() {}

// SPI on the FE310. The normal SPI0 is actually a quad-SPI meant for flash, so it is best
// to use SPI1 or SPI2 port for most applications.
type SPI struct {
Expand Down

0 comments on commit 90cbe52

Please sign in to comment.