mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-21 15:09:00 +00:00
Error strings should not be capitalized (unless beginning with proper
nouns or acronyms) or end with punctuation, since they are usually printed following other context.
This commit is contained in:
committed by
Ron Evans
parent
8534e67c83
commit
cb49783f18
+1
-1
@@ -87,7 +87,7 @@ func (g *GPIO) write4BitMode(data byte) {
|
||||
// Ram address can be changed by writing address in command mode
|
||||
func (g *GPIO) Read(data []byte) (n int, err error) {
|
||||
if len(data) == 0 {
|
||||
return 0, errors.New("Length greater than 0 is required")
|
||||
return 0, errors.New("length greater than 0 is required")
|
||||
}
|
||||
g.rw.High()
|
||||
g.reconfigureGPIOMode(machine.PinInput)
|
||||
|
||||
Reference in New Issue
Block a user