Fix various typos
Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
This commit is contained in:
@@ -94,8 +94,8 @@ void LittleVgl::FlushDisplay(const lv_area_t* area, lv_color_t* color_p) {
|
||||
uint16_t y1, y2, width, height = 0;
|
||||
|
||||
ulTaskNotifyTake(pdTRUE, 200);
|
||||
// NOtification is still needed (even if there is a mutex on SPI) because of the DataCommand pin
|
||||
// which cannot be set/clear during a transfert.
|
||||
// Notification is still needed (even if there is a mutex on SPI) because of the DataCommand pin
|
||||
// which cannot be set/clear during a transfer.
|
||||
|
||||
if ((scrollDirection == LittleVgl::FullRefreshDirections::Down) && (area->y2 == visibleNbLines - 1)) {
|
||||
writeOffset = ((writeOffset + totalNbLines) - visibleNbLines) % totalNbLines;
|
||||
|
@@ -43,7 +43,7 @@ def main():
|
||||
if not os.path.exists(args.config):
|
||||
sys.exit(f'Error: the config file {args.config} does not exist.')
|
||||
if not os.access(args.config, os.R_OK):
|
||||
sys.exit(f'Error: the config file {args.config} is not accessable (permissions?).')
|
||||
sys.exit(f'Error: the config file {args.config} is not accessible (permissions?).')
|
||||
with open(args.config, 'r') as fd:
|
||||
data = json.load(fd)
|
||||
|
||||
|
@@ -35,7 +35,7 @@ namespace Pinetime {
|
||||
|
||||
private:
|
||||
T value {}; // NSDMI - default initialise type
|
||||
bool isUpdated {true}; // NSDMI - use brace initilisation
|
||||
bool isUpdated {true}; // NSDMI - use brace initialisation
|
||||
};
|
||||
|
||||
class Screen {
|
||||
|
Reference in New Issue
Block a user