mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-16 04:43:25 +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
@@ -127,7 +127,7 @@ func (d *Device) GetPixel(x int16, y int16) bool {
|
||||
func (d *Device) SetBuffer(buffer []byte) error {
|
||||
if int16(len(buffer)) != d.bufferSize {
|
||||
//return ErrBuffer
|
||||
return errors.New("Wrong size buffer")
|
||||
return errors.New("wrong size buffer")
|
||||
}
|
||||
for i := int16(0); i < d.bufferSize; i++ {
|
||||
d.buffer[i] = buffer[i]
|
||||
|
||||
Reference in New Issue
Block a user