Skip to content

Commit

Permalink
Update development time (#17)
Browse files Browse the repository at this point in the history
* Update development time

* Update

---------

Co-authored-by: Awawa <[email protected]>
  • Loading branch information
AstaRom and awawa-dev authored Feb 23, 2024
1 parent 5bf4754 commit 9554f42
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if(NOT CMAKE_HOST_WIN32)
string(ASCII 27 EscChar)
set(ColorReset "${EscChar}[m")
set(GreenColor "${EscChar}[32m")
set(YellowColor "${EscChar}[33m")
set(YellowColor "${EscChar}[33m")
endif()

if (OVERRIDE_DATA_PIN)
Expand Down
4 changes: 1 addition & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
MIT License

Copyright (c) 2023 awawa-dev

https://github.com/awawa-dev/HyperSerialPico
Copyright (c) 2023-2024 awawa-dev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion include/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
*
Expand Down
2 changes: 1 addition & 1 deletion include/calibration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
*
Expand Down
2 changes: 1 addition & 1 deletion include/framestate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
*
Expand Down
8 changes: 4 additions & 4 deletions include/leds.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
*
Expand Down Expand Up @@ -335,7 +335,7 @@ class Neopixel : public LedDriver, public DmaClient

smConfig = (timingType == NeopixelSubtype::ws2812b) ?
neopixel_ws2812b_program_get_default_config(programAddress) : neopixel_program_get_default_config(programAddress);

sm_config_set_sideset_pins(&smConfig, _pin);
}

Expand Down Expand Up @@ -501,7 +501,7 @@ class Dotstar : public LedDriver, public DmaClient
dmaConfigure(pio0, 0);
resetTime = _resetTime;

spi_init(_spi, 10000000);
spi_init(_spi, 10000000);
gpio_set_function(_clockpin, GPIO_FUNC_SPI);
gpio_set_function(_datapin, GPIO_FUNC_SPI);
bi_decl(bi_4pins_with_func(PICO_DEFAULT_SPI_RX_PIN, _datapin, _clockpin, PICO_DEFAULT_SPI_CSN_PIN, GPIO_FUNC_SPI));
Expand Down Expand Up @@ -538,7 +538,7 @@ class DotstarType : public Dotstar
{
public:

DotstarType(int _ledsNumber, spi_inst_t* _spi, int _dataPin, int _clockPin) :
DotstarType(int _ledsNumber, spi_inst_t* _spi, int _dataPin, int _clockPin) :
Dotstar(RESET_TIME, _ledsNumber, _spi, _dataPin, _clockPin, (_ledsNumber + 2) * sizeof(colorData))
{
}
Expand Down
4 changes: 2 additions & 2 deletions include/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
*
Expand Down Expand Up @@ -140,7 +140,7 @@ void processData()

if (input == 0x15)
printf(HELLO_MESSAGE);

frameState.setRegroup(true);

delay(10);
Expand Down
2 changes: 1 addition & 1 deletion include/statistics.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
Expand Down
2 changes: 1 addition & 1 deletion pio/neopixel.pio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; MIT License
;
; Copyright (c) 2023 awawa-dev
; Copyright (c) 2023-2024 awawa-dev
;
; https://github.com/awawa-dev/HyperSerialPico
;
Expand Down
2 changes: 1 addition & 1 deletion pio/neopixel_ws2812b.pio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; MIT License
;
; Copyright (c) 2023 awawa-dev
; Copyright (c) 2023-2024 awawa-dev
;
; https://github.com/awawa-dev/HyperSerialPico
;
Expand Down
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (c) 2023 awawa-dev
* Copyright (c) 2023-2024 awawa-dev
*
* https://github.com/awawa-dev/HyperSerialPico
*
Expand Down

0 comments on commit 9554f42

Please sign in to comment.