Skip to content

Commit

Permalink
Fix comment type of Speed
Browse files Browse the repository at this point in the history
  • Loading branch information
toruyagi-u committed Jun 6, 2018
1 parent c388d6a commit afce884
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion drivers/spi/apa102.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type APA102Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewAPA102Driver(a Connector, count int, options ...func(Config)) *APA102Driver {
d := &APA102Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3002.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3002Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewMCP3002Driver(a Connector, options ...func(Config)) *MCP3002Driver {
d := &MCP3002Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3004.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3004Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewMCP3004Driver(a Connector, options ...func(Config)) *MCP3004Driver {
d := &MCP3004Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3008.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3008Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewMCP3008Driver(a Connector, options ...func(Config)) *MCP3008Driver {
d := &MCP3008Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3202.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3202Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequecy): speed in Hz to use with this driver
//
func NewMCP3202Driver(a Connector, options ...func(Config)) *MCP3202Driver {
d := &MCP3202Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3204.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3204Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewMCP3204Driver(a Connector, options ...func(Config)) *MCP3204Driver {
d := &MCP3204Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3208.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3208Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewMCP3208Driver(a Connector, options ...func(Config)) *MCP3208Driver {
d := &MCP3208Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/mcp3304.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MCP3304Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewMCP3304Driver(a Connector, options ...func(Config)) *MCP3304Driver {
d := &MCP3304Driver{
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/ssd1306_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ type SSD1306Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
// spi.WithDisplayWidth(int): width of display (defaults to 128)
// spi.WithDisplayHeight(int): height of display (defaults to 64)
// spi.WithDCPin(string): gpio pin number connected to dc pin on display (defaults to "16")
Expand Down
2 changes: 1 addition & 1 deletion platforms/dexter/gopigo3/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ type Driver struct {
// spi.WithChip(int): chip to use with this driver
// spi.WithMode(int): mode to use with this driver
// spi.WithBits(int): number of bits to use with this driver
// spi.WithSpeed(int64): speed in Hz to use with this driver
// spi.WithSpeed(physic.Frequency): speed in Hz to use with this driver
//
func NewDriver(a spi.Connector, options ...func(spi.Config)) *Driver {
g := &Driver{
Expand Down

0 comments on commit afce884

Please sign in to comment.