Skip to content

Conversation

YusukeKato
Copy link
Contributor

@YusukeKato YusukeKato commented Nov 19, 2024

What does this implement/fix?

リファクタリングの一環として、右と左でそれぞれ用意されている関数を一つにまとめます。

対象の関数

  • rtcntl_i2c_create_cdevrtcntr_i2c_create_cdev
  • set_motor_l_freqset_motor_r_freq

Does this close any currently open issues?

しません。

How has this been tested?

下記の環境ですべてのサンプルプログラムが動作することを確認しました。

  • Rapberry Pi 4B
    • Ubuntu 24.04 LTS
    • Ubuntu 22.04 LTS
    • Raspberry Pi OS 64bit
    • Raspberry Pi OS 32bit

CIのビルドテストのチェックが通ることを確認しました。

Any other comments?

rawmotor_l_writerawmotor_r_writedev_fopsで使用するため、まとめていません。

Checklists

@YusukeKato YusukeKato added the Type: Refactoring A code change that neither fixes a bug nor adds a feature label Nov 19, 2024
@YusukeKato YusukeKato self-assigned this Nov 19, 2024
@YusukeKato YusukeKato requested a review from KuraZuzu November 19, 2024 08:33
@KuraZuzu
Copy link
Contributor

以下の環境でサンプルプログラムの動作確認ができました。コードの方もLGTMです。

  • Raspberry Pi Mouse V3
    • Raspbery Pi 4B (4GB)
      • os: Ubuntu Server 24.04
      • kernel: 6.8.0-1014-raspi

@KuraZuzu KuraZuzu merged commit 9863ba3 into master Nov 26, 2024
11 checks passed
@KuraZuzu KuraZuzu deleted the refactoring/combine-functions branch November 26, 2024 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Refactoring A code change that neither fixes a bug nor adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants