Skip to content

Commit

Permalink
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
Browse files Browse the repository at this point in the history
…o master-resync
  • Loading branch information
peternewman committed Mar 28, 2024
2 parents a05acc2 + a2aeb83 commit e6dbffd
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 12 deletions.
8 changes: 5 additions & 3 deletions Makefile.am
Expand Up @@ -272,8 +272,10 @@ COVERAGE_OUTPUTS = --txt coverage/coverage.txt \
--cobertura coverage/coverage.cobertura.xml \
--html-details coverage/details.html/coverage.details.html \
--coveralls coverage/coverage.coveralls.json
COVERAGE_GCOV_EXE=--gcov-executable /usr/bin/gcov
COVERAGE_FILTERS=-e '.*Test\.cpp$$' \
# See https://gcovr.com/en/stable/guide/gcov_parser.html#negative-hit-counts
COVERAGE_FLAGS = --gcov-ignore-parse-errors=negative_hits.warn_once_per_file
COVERAGE_GCOV_EXE = --gcov-executable /usr/bin/gcov
COVERAGE_FILTERS = -e '.*Test\.cpp$$' \
-e '.*\.pb\.cc$$' \
-e '.*\.pb\.cpp$$' \
-e '.*\.pb\.h$$' \
Expand All @@ -288,7 +290,7 @@ if !BUILD_GCOV
else
if FOUND_GCOVR
mkdir -p coverage/details.html/
gcovr --print-summary $(COVERAGE_OUTPUTS) $(COVERAGE_GCOV_EXE) --root . $(COVERAGE_FILTERS)
gcovr $(COVERAGE_FLAGS) --print-summary $(COVERAGE_OUTPUTS) $(COVERAGE_GCOV_EXE) --root . $(COVERAGE_FILTERS)
else
$(error gcovr not found. Install gcovr (e.g. via pip for the latest version) and re-run configure.)
endif
Expand Down
2 changes: 1 addition & 1 deletion common/rdm/QueueingRDMController.cpp
Expand Up @@ -14,7 +14,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* QueueingRDMController.cpp
* The Jese DMX TRI device.
* An RDM Controller that sends a single message at a time.
* Copyright (C) 2010 Simon Newton
*/

Expand Down
2 changes: 1 addition & 1 deletion common/rdm/QueueingRDMControllerTest.cpp
Expand Up @@ -14,7 +14,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* QueueingRDMControllerTest.cpp
* Test fixture for the UID classes
* Test fixture for the QueueingRDMController
* Copyright (C) 2005 Simon Newton
*/

Expand Down
2 changes: 1 addition & 1 deletion common/rdm/VariableFieldSizeCalculator.cpp
Expand Up @@ -69,7 +69,7 @@ VariableFieldSizeCalculator::calculator_state
return data_size > m_fixed_size_sum ? TOO_LARGE : FIXED_SIZE;

// we know there is only one, now we need to work out the number of
// repeatitions or length if it's a string
// repetitions or length if it's a string
unsigned int bytes_remaining = data_size - m_fixed_size_sum;
if (variable_string_field_count) {
// variable string
Expand Down
2 changes: 1 addition & 1 deletion include/ola/rdm/QueueingRDMController.h
Expand Up @@ -14,7 +14,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* QueueingRDMController.h
* A RDM Controller that sends a single message at a time.
* An RDM Controller that sends a single message at a time.
* Copyright (C) 2010 Simon Newton
*/

Expand Down
2 changes: 1 addition & 1 deletion plugins/spi/README.md
Expand Up @@ -44,7 +44,7 @@ pin. The number of ports will be 2 ^ (# of pins).
If the software backend is used, this defines the number of ports which will
be created.

`<device>-sync-ports = <int>`
`<device>-sync-port = <int>`
Controls which port triggers a flush (write) of the SPI data. If set to -1
the SPI data is written when any port changes. This can result in a lot of
data writes (slow) and partial frames. If set to -2, the last port is used.
Expand Down
4 changes: 2 additions & 2 deletions plugins/usbpro/DmxterWidget.cpp
Expand Up @@ -50,7 +50,7 @@ const uint8_t DmxterWidgetImpl::TOD_LABEL = 0x82;
const uint8_t DmxterWidgetImpl::DISCOVERY_BRANCH_LABEL = 0x83;
const uint8_t DmxterWidgetImpl::FULL_DISCOVERY_LABEL = 0x84;
const uint8_t DmxterWidgetImpl::INCREMENTAL_DISCOVERY_LABEL = 0x85;
const uint8_t DmxterWidgetImpl::SHUTDOWN_LABAEL = 0xf0;
const uint8_t DmxterWidgetImpl::SHUTDOWN_LABEL = 0xf0;


/*
Expand Down Expand Up @@ -195,7 +195,7 @@ void DmxterWidgetImpl::HandleMessage(uint8_t label,
case RDM_BCAST_REQUEST_LABEL:
HandleBroadcastRDMResponse(data, length);
break;
case SHUTDOWN_LABAEL:
case SHUTDOWN_LABEL:
HandleShutdown(data, length);
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion plugins/usbpro/DmxterWidget.h
Expand Up @@ -77,7 +77,7 @@ class DmxterWidgetImpl: public BaseUsbProWidget,
static const uint8_t DISCOVERY_BRANCH_LABEL;
static const uint8_t FULL_DISCOVERY_LABEL;
static const uint8_t INCREMENTAL_DISCOVERY_LABEL;
static const uint8_t SHUTDOWN_LABAEL;
static const uint8_t SHUTDOWN_LABEL;

typedef enum {
RC_CHECKSUM_ERROR = 1,
Expand Down
5 changes: 4 additions & 1 deletion scripts/spelling.sh
Expand Up @@ -70,11 +70,14 @@ SPELLINGBLACKLIST=$(cat <<-BLACKLIST
-wholename "./olad/www/new/js/app.min.js" -or \
-wholename "./olad/www/new/js/app.min.js.map" -or \
-wholename "./olad/www/new/libs/angular/js/angular.min.js" -or \
-wholename "./olad/www/new/libs/bootstrap/js/bootstrap.min.js" -or \
-wholename "./olad/www/new/libs/jquery/js/jquery.min.js" -or \
-wholename "./olad/www/new/libs/marked/js/marked.min.js" -or \
-wholename "./olad/www/ola.js" -or \
-wholename "./plugins/artnet/messages/ArtNetConfigMessages.pb.*" -or \
-wholename "./tools/ola_trigger/config.tab.*" -or \
-wholename "./tools/ola_trigger/lex.yy.cpp"
-wholename "./tools/ola_trigger/lex.yy.cpp" -or \
-wholename "./tools/rdm/static/jquery-1.7.2.min.js"
BLACKLIST
)

Expand Down

0 comments on commit e6dbffd

Please sign in to comment.