spelling: variable

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 17:12:03 -05:00
parent d37fe946e1
commit c1e8ef32bd
5 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,7 @@ void delay_us(uint32_t us) {
void delay_ms(uint32_t millis) {
// delay_us(millis*1000) is not used because a long delay could easily
// overflow the veriable. Without the outer loop, a delay of even five
// overflow the variable. Without the outer loop, a delay of even five
// seconds would overflow.
while (millis--) {
delay_us(1000);

View file

@ -41,7 +41,7 @@ void NOINLINE delay_us(uint32_t us) {
void delay_ms(uint32_t millis) {
// delay_us(millis*1000) is not used because a long delay could easily
// overflow the veriable. Without the outer loop, a delay of even five
// overflow the variable. Without the outer loop, a delay of even five
// seconds would overflow.
while (millis--) {
delay_us(1000);

View file

@ -36,7 +36,7 @@ void delay_us(uint32_t us) {
void delay_ms(uint32_t millis) {
// delay_us(millis*1000) is not used because a long delay could easily
// overflow the veriable. Without the outer loop, a delay of even five
// overflow the variable. Without the outer loop, a delay of even five
// seconds would overflow.
while (millis--) {
delay_us(1000);

View file

@ -41,7 +41,7 @@ void NOINLINE delay_us(uint32_t us) {
void delay_ms(uint32_t millis) {
// delay_us(millis*1000) is not used because a long delay could easily
// overflow the veriable. Without the outer loop, a delay of even five
// overflow the variable. Without the outer loop, a delay of even five
// seconds would overflow.
while (millis--) {
delay_us(1000);

View file

@ -379,7 +379,7 @@ inline void prv_hline_quadrant(GCornerMask quadrant, GCornerMask desired, GConte
static void prv_stroke_circle_quadrant_full(GContext* ctx, GPoint p, uint16_t radius,
uint8_t stroke_width, GCornerMask quadrant) {
// This algorithm will draw stroked circle with vairable width (only odd numbers for now)
// This algorithm will draw stroked circle with variable width (only odd numbers for now)
const uint8_t half_stroke_width = stroke_width / 2;
const int16_t inner_radius = radius - half_stroke_width;
const uint8_t outer_radius = radius + half_stroke_width;