mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-30 11:29:01 +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
@@ -66,7 +66,7 @@ func (d *Device) Configure(cfg Config) error {
|
||||
d.width = uint8(cfg.Width)
|
||||
d.height = uint8(cfg.Height)
|
||||
if d.width == 0 || d.height == 0 {
|
||||
return errors.New("Width and height must be set")
|
||||
return errors.New("width and height must be set")
|
||||
}
|
||||
memoryMap := uint8(ONE_LINE)
|
||||
if d.height > 1 {
|
||||
|
||||
Reference in New Issue
Block a user