Skip to content

Commit 862668e

Browse files
Corrections to examples chapter04_04a and 06_01
Minor tweaks to markdown syntax, alt text for images, typos and formula not rendered correctly
1 parent 6e13e24 commit 862668e

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

examples/chapter04_04a/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Example Chapter04_04a
2+
23
## LED Objects and Polymorphism via References
34

45
Example chapter04_04a implements the same basic functionality

examples/chapter06_01/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Example Chapter06_01
2+
23
## A CRC Benchmark
34

45
<p align="center">
5-
<a href="https://godbolt.org/z/ssTK8TjWj" alt="godbolt">
6-
<img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" /></a>
6+
<a href="https://godbolt.org/z/ssTK8TjWj">
7+
<img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" alt="godbolt" /></a>
78
</p>
89

910
Example chapter06_01 illustrates certain optimization
@@ -73,8 +74,7 @@ std::uint32_t crc32_mpeg2(input_iterator first,
7374
## Application Description
7475
7576
One of the standard tests of a CRC is to compute the checksum
76-
of the digits
77-
<img src="https://render.githubusercontent.com/render/math?math=1{\ldots}9">.
77+
of the digits $1 \ldots 9$.
7878
Please note here that the digits are not decimal values.
7979
They are the ASCII representations instead. In other words,
8080
the standard CRC test computes the checksum of a byte array such as
@@ -101,7 +101,7 @@ of the the expected result.
101101
The benchmark port pin `portd.3` is toggled high
102102
prior to the CRC calculation and low following the calculation.
103103
This provides a time pulse that can easily be measured
104-
on the oscilloscpoe. For the 8-bit target, expect
104+
on the oscilloscope. For the 8-bit target, expect
105105
a CRC runtime of approximately $300~{\mu}\text{s}$.
106106

107107
The benchmark port definition can be located in the file

0 commit comments

Comments
 (0)