Skip to content

Commit 7e8492e

Browse files
committed
Correct a typo in a snippet
1 parent 6796843 commit 7e8492e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code_snippets/chapter04/chapter04_08-002_nonconst_com_class.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class communication
7373

7474
const communication& operator=(const communication&) = delete;
7575

76-
friend auto com_recv_isr() -> bool;
76+
friend auto com_recv_isr() -> void;
7777
};
7878

7979
std::uint8_t* communication::tbuf = reinterpret_cast<std::uint8_t*>(&mcal::reg::dummy_register_tbuf);

0 commit comments

Comments
 (0)