forked from Imagelibrary/rtems
Correct minor spelling and grammar errors
This work was performed as a GCI 2018 task.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
dnl canonicalize target cpu
|
dnl canonicalize target cpu
|
||||||
dnl NOTE: Most rtems targets do not fullfil autoconf's
|
dnl NOTE: Most rtems targets do not fulfil autoconf's
|
||||||
dnl target naming conventions "processor-vendor-os"
|
dnl target naming conventions "processor-vendor-os"
|
||||||
dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
|
dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
|
||||||
dnl and we have to fix it for rtems ourselves
|
dnl and we have to fix it for rtems ourselves
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_BUILD_TOP],
|
|||||||
[dnl
|
[dnl
|
||||||
#
|
#
|
||||||
# This is a copy of the horrible hack in rtems-top.m4 and it is simpler to
|
# This is a copy of the horrible hack in rtems-top.m4 and it is simpler to
|
||||||
# copy it that attempt to clean this crap up.
|
# copy it than attempt to clean this crap up.
|
||||||
#
|
#
|
||||||
RTEMS_BUILD_ROOT="${with_rtems_build_top}"
|
RTEMS_BUILD_ROOT="${with_rtems_build_top}"
|
||||||
AC_SUBST([RTEMS_BUILD_ROOT])
|
AC_SUBST([RTEMS_BUILD_ROOT])
|
||||||
|
|||||||
@@ -502,7 +502,7 @@ xilinx_axi_i2c_read_rx_fifo(xilinx_axi_i2c_bus* bus)
|
|||||||
* One more byte to be received. This is set up by programming the RX
|
* One more byte to be received. This is set up by programming the RX
|
||||||
* FIFO programmable depth interrupt register with a value that is 2
|
* FIFO programmable depth interrupt register with a value that is 2
|
||||||
* less than the number we need (the register is minus 1). When we have
|
* less than the number we need (the register is minus 1). When we have
|
||||||
* one byte left disable the TX error interrupt because setting the NO
|
* one byte left, disable the TX error interrupt because setting the NO
|
||||||
* ACK bit in the command register causes a TX error interrupt. Set the
|
* ACK bit in the command register causes a TX error interrupt. Set the
|
||||||
* TXAK bit in the CR to not-acknowledge the next byte received telling
|
* TXAK bit in the CR to not-acknowledge the next byte received telling
|
||||||
* the slave sender the master accepts no more data, then read the
|
* the slave sender the master accepts no more data, then read the
|
||||||
|
|||||||
@@ -721,7 +721,7 @@ static void fileio_list_file(void)
|
|||||||
printf("\n Trying to open file \"%s\" for read\n",fname);
|
printf("\n Trying to open file \"%s\" for read\n",fname);
|
||||||
fd = open(fname,O_RDONLY);
|
fd = open(fname,O_RDONLY);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
printf("*** file open failed, errno = %d(%s)\n",errno,strerror(errno));
|
printf("*** file failed to open, errno = %d(%s)\n",errno,strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1014,7 +1014,7 @@ static void fileio_read_file(void)
|
|||||||
printf("... opening file \"%s\"\n",fname);
|
printf("... opening file \"%s\"\n",fname);
|
||||||
fd = open(fname,O_RDONLY);
|
fd = open(fname,O_RDONLY);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
printf("*** file open failed, errno = %d(%s)\n",errno,strerror(errno));
|
printf("*** failed to open file, errno = %d(%s)\n",errno,strerror(errno));
|
||||||
failed = true;
|
failed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user