meta-digi: cosmetic, fix typos
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
f0222aba8d
commit
0d42da6e12
|
|
@ -8,7 +8,7 @@
|
|||
* under the terms of the GNU General Public License version 2 as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* Description: miscellanous definitions that simplifies developing
|
||||
* Description: miscellaneous definitions that simplifies developing
|
||||
* May require 'string.h' or 'log.h'
|
||||
*
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ static int gpio_init(void)
|
|||
}
|
||||
|
||||
if (ret < 0){
|
||||
pr_err(DRIVER_NAME ": major %d allready in use \n", gpio_major);
|
||||
pr_err(DRIVER_NAME ": major %d already in use \n", gpio_major);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ ftp://.*/.* ${DIGI_MIRROR}/ \n \
|
|||
http://.*/.* ${DIGI_MIRROR}/ \n \
|
||||
https://.*/.* ${DIGI_MIRROR}/ \n"
|
||||
|
||||
# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
|
||||
# The CONNECTIVITY_CHECK_URI's are used to test whether we can successfully
|
||||
# fetch from the network (and warn you if not). To disable the test set
|
||||
# the variable to be empty.
|
||||
# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ IMAGE_FEATURES += "${VIRTUAL_RUNTIME_ssh_server}"
|
|||
IMAGE_FEATURES += "dey-network"
|
||||
IMAGE_FEATURES += "package-management"
|
||||
|
||||
# Machine dependant features
|
||||
# Machine dependent features
|
||||
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "alsa", "dey-audio", "", d)}'
|
||||
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "accel-video", "dey-gstreamer", "", d)}'
|
||||
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "wifi", "dey-wireless", "", d)}'
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ int main(int argc, char *argv[])
|
|||
break;
|
||||
}
|
||||
} else if (inp_event.type == EV_SYN && valid_x && valid_y && valid_z) {
|
||||
/* Only need to validate data the 1st time, so it's not necesary to reset flags */
|
||||
/* Only need to validate data the 1st time, so it's not necessary to reset flags */
|
||||
printf("X = %d Y = %d Z = %d\n", abs_x, abs_y, abs_z);
|
||||
}
|
||||
} while (bytes_read);
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ static void daemonize( const char *lockfile )
|
|||
}
|
||||
}
|
||||
|
||||
/* Trap signals that we expect to recieve */
|
||||
/* Trap signals that we expect to receive */
|
||||
signal(SIGCHLD,signal_handler);
|
||||
signal(SIGUSR1,signal_handler);
|
||||
signal(SIGALRM,signal_handler);
|
||||
|
|
|
|||
|
|
@ -3135,7 +3135,7 @@ static void cmd_wotp(int dev_id, int argc, char **argv)
|
|||
}
|
||||
ReverseHexString(argv[2]);
|
||||
if (!write_otpRaw(dev_id, address, length, (UCHAR *)argv[2]))
|
||||
printf("Write to OTP sucessful!\n");
|
||||
printf("Write to OTP successful!\n");
|
||||
}
|
||||
|
||||
static int write_otpRaw(int dev_id, int address, int length, UCHAR *data)
|
||||
|
|
@ -4463,7 +4463,7 @@ int SetMasterBlasterTestMode(tBRM_Control_packet *MasterBlaster, tMasterBlasterO
|
|||
sizeof(TestModeOption)/sizeof(tMasterBlasterOption), TM,1))
|
||||
{
|
||||
MasterBlaster->testCtrl.Mode = (UCHAR)Value;
|
||||
// Enable continous Tx should disable continous Rx
|
||||
// Enable continuous Tx should disable continuous Rx
|
||||
MasterBlaster->ContRxMode = DISABLE;
|
||||
MasterBlaster->ContTxMode = DISABLE;
|
||||
return TRUE;
|
||||
|
|
@ -4639,7 +4639,7 @@ int SetMasterBlasterContTxMode (tBRM_Control_packet *MasterBlaster, tMasterBlast
|
|||
MasterBlaster->ContTxMode = (UCHAR)Value;
|
||||
if (MasterBlaster->ContTxMode == ENABLE)
|
||||
{
|
||||
// Enable continous Tx should disable continous Rx
|
||||
// Enable continuous Tx should disable continuous Rx
|
||||
MasterBlaster->ContRxMode = DISABLE;
|
||||
MasterBlaster->LERxMode = DISABLE;
|
||||
MasterBlaster->LETxMode = DISABLE;
|
||||
|
|
@ -4677,7 +4677,7 @@ int SetMasterBlasterLERxMode (tBRM_Control_packet *MasterBlaster, tMasterBlaster
|
|||
MasterBlaster->LERxMode = (UCHAR)Value;
|
||||
if (MasterBlaster->LERxMode == ENABLE)
|
||||
{
|
||||
/* Enable continous Tx should disable other modes */
|
||||
/* Enable continuous Tx should disable other modes */
|
||||
MasterBlaster->LETxMode = DISABLE;
|
||||
MasterBlaster->ContTxMode = DISABLE;
|
||||
MasterBlaster->ContRxMode = DISABLE;
|
||||
|
|
@ -4708,7 +4708,7 @@ int SetMasterBlasterLETxMode (tBRM_Control_packet *MasterBlaster, tMasterBlaster
|
|||
MasterBlaster->LETxMode = (UCHAR)Value;
|
||||
if (MasterBlaster->LETxMode == ENABLE)
|
||||
{
|
||||
/* Enable continous Tx should disable other modes */
|
||||
/* Enable continuous Tx should disable other modes */
|
||||
MasterBlaster->LERxMode = DISABLE;
|
||||
MasterBlaster->ContTxMode = DISABLE;
|
||||
MasterBlaster->ContRxMode = DISABLE;
|
||||
|
|
@ -4754,7 +4754,7 @@ int SetMasterBlasterContRxMode (tBRM_Control_packet *MasterBlaster, tMasterBlast
|
|||
MasterBlaster->ContRxMode = (UCHAR)Value;
|
||||
if (MasterBlaster->ContRxMode == ENABLE)
|
||||
{
|
||||
// Enable continous Tx should disable continous Rx
|
||||
// Enable continuous Tx should disable continuous Rx
|
||||
MasterBlaster->ContTxMode = DISABLE;
|
||||
MasterBlaster->LERxMode = DISABLE;
|
||||
MasterBlaster->LETxMode = DISABLE;
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ static int run_test1(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[])
|
|||
while (++loop_count < 400000) {
|
||||
uint32_t callbacks_received = 0;
|
||||
|
||||
/* check that every request was serviced succesfully */
|
||||
/* check that every request was serviced successfully */
|
||||
for (loop = 0; loop < RESULTS_SIZE; loop++) {
|
||||
if (tests[loop].result_received) {
|
||||
callbacks_received++;
|
||||
|
|
@ -242,7 +242,7 @@ static int run_test1(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[])
|
|||
usleep(5);
|
||||
}
|
||||
|
||||
/* check that every request was serviced succesfully */
|
||||
/* check that every request was serviced successfully */
|
||||
for (loop = 0; loop < RESULTS_SIZE; loop++) {
|
||||
if (tests[loop].initiated) {
|
||||
if (!tests[loop].result_received) {
|
||||
|
|
@ -301,7 +301,7 @@ static int run_test2(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[])
|
|||
while (++loop_count < 8000000) {
|
||||
uint32_t callbacks_received = 0;
|
||||
|
||||
/* check that every request was serviced succesfully */
|
||||
/* check that every request was serviced successfully */
|
||||
for (loop = 0; loop < RESULTS_SIZE; loop++) {
|
||||
if (tests[loop].result_received) {
|
||||
callbacks_received++;
|
||||
|
|
@ -319,7 +319,7 @@ static int run_test2(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[])
|
|||
passed = 0;
|
||||
}
|
||||
|
||||
/* check that every request was serviced succesfully */
|
||||
/* check that every request was serviced successfully */
|
||||
for (loop = 0; loop < RESULTS_SIZE; loop++) {
|
||||
if (tests[loop].initiated) {
|
||||
if (!tests[loop].result_received) {
|
||||
|
|
|
|||
|
|
@ -344,7 +344,7 @@ void set_dsp_speed(int *dsp_speed)
|
|||
*
|
||||
* if to_mono:
|
||||
* compress 8 bit stereo data 2:1, needed if we want play 'one track';
|
||||
* this is usefull, if you habe SB 1.0 - 2.0 (I have 1.0) and want
|
||||
* this is useful, if you habe SB 1.0 - 2.0 (I have 1.0) and want
|
||||
* hear the sample (in Mono)
|
||||
*
|
||||
* if to_8:
|
||||
|
|
|
|||
Loading…
Reference in New Issue