Skip to content

Commit

Permalink
Update code with astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Jan 30, 2022
1 parent 2af2d6a commit 7330728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Add support for Platform.IO
- Split CMakeLists.txt files between library and executable
- Change license year to 2022
- Update code style with astyle

## v3.0.2

Expand Down
6 changes: 3 additions & 3 deletions lwow/src/lwow/lwow.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ lwow_crc(const void* in, const size_t len) {
*/
lwowr_t
lwow_search_with_command_callback(lwow_t* const ow, const uint8_t cmd, size_t* const roms_found,
const lwow_search_cb_fn func, void* arg) {
const lwow_search_cb_fn func, void* arg) {
lwowr_t res;
lwow_rom_t rom_id;
size_t i;
Expand Down Expand Up @@ -685,7 +685,7 @@ lwow_search_with_callback(lwow_t* const ow, size_t* const roms_found, const lwow
*/
lwowr_t
lwow_search_devices_with_command_raw(lwow_t* const ow, const uint8_t cmd, lwow_rom_t* const rom_id_arr,
const size_t rom_len, size_t* const roms_found) {
const size_t rom_len, size_t* const roms_found) {
lwowr_t res;
size_t cnt = 0;

Expand All @@ -711,7 +711,7 @@ lwow_search_devices_with_command_raw(lwow_t* const ow, const uint8_t cmd, lwow_r
*/
lwowr_t
lwow_search_devices_with_command(lwow_t* const ow, const uint8_t cmd, lwow_rom_t* const rom_id_arr,
const size_t rom_len, size_t* const roms_found) {
const size_t rom_len, size_t* const roms_found) {
lwowr_t res;

LWOW_ASSERT("ow != NULL", ow != NULL);
Expand Down

0 comments on commit 7330728

Please sign in to comment.