-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SS/STTのDS initをコマンド化しEHを更新 #300
Conversation
SILSで以下を確認
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
追加ありがとうございます。
2点コメントしたので修正お願いします。
修正してもらい次第、こちらでvMicro build確認をしてマージしておきます。
{ | ||
(void)packet; | ||
uint8_t i; | ||
uint8_t is_ok; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MUST]初期化をお願いします。
uint8_t is_ok; | |
uint8_t is_ok = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_ok |=をis_ok &=にして初期化はis_ok = 1にしようと思います
{ | ||
(void)packet; | ||
uint8_t i; | ||
uint8_t is_ok; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MUST]初期化をお願いします。
uint8_t is_ok; | |
uint8_t is_ok = 0; |
for (i = 0; i < NANOSSOC_D60_PARAMETERS_NUMBER_OF_MOUNTED_SENSOR; ++i) | ||
{ | ||
ret = NANOSSOC_D60_DS_init(&nanossoc_d60_driver_[i], &DI_NANOSSOC_D60_rx_buffer_[i]); | ||
is_ok |= (ret == DS_INIT_OK); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここ&の気がしてきました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
確かに、全部成功してほしいということよね
ret = DS_init_stream_rec_buffer(&DI_NANOSSOC_D60_rx_buffer_[i], | ||
DI_NANOSSOC_D60_rx_buffer_allocation_[i], | ||
sizeof(DI_NANOSSOC_D60_rx_buffer_allocation_[i])); | ||
is_ok |= (ret == DS_ERR_CODE_OK); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここも&
@michinarikake 修正ありがとう。マージできる状態ということでOKよね? |
はい、マージできます!よろしくお願いします! |
src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_nanossoc_d60.c
Outdated
Show resolved
Hide resolved
Co-authored-by: Toshihiro Suzuki <[email protected]>
すみません、ミスってました... |
最新devをとりこんでvMicro build通ったのでマージします。 |
Issue
詳細
SS, STTのテレメエラーの対策としてDS_initとDS_init_stream_rec_bufferをラップしたコマンドを定義した。
また, EHのSS, STTのreset BCにこれらのコマンドを追加した
検証結果
ビルドチェック (どちらもチェック)
動作確認チェック (いずれかをチェック)
試験結果詳細記述場所 or 詳細ログ保存場所へのリンク
補足
何かあれば書く。なければ
NA
とする。