Skip to content

Commit

Permalink
fix: Adds QOL prints
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui committed Oct 31, 2024
1 parent 8811376 commit bb1f4ee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cli/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ static void CLI_monitorSensors(void) {
char dt[SF_CLI_MAX_CMD_LEN];
getline(dt, SF_CLI_MAX_CMD_LEN);
int delayTime = atoi(dt);
SF_OSAL_printf("Delay set to %d ms" __NL__, delayTime);
SF_OSAL_printf("a - acceleraction, g - gyroscope, m - magnetometer, t - temp, w - wet/dry, d - dmp" __NL__);
bool valid = true;
while (valid) {
Expand Down Expand Up @@ -208,7 +209,12 @@ static void CLI_monitorSensors(void) {
// headers.push_back("dcz");
}


// if no headers, return now
if (headers.size() == 0)
{
return;
}

int count = 0;

while(1) {
Expand Down

0 comments on commit bb1f4ee

Please sign in to comment.