Skip to content

Commit b7d7c37

Browse files
committed
Changed to const uint8_t for write
1 parent 11ba6b5 commit b7d7c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/core/nxp/lpc178x/emac.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ namespace klib::core::lpc178x::io {
467467
* @param tx
468468
* @return result
469469
*/
470-
static bool write(const std::span<uint8_t> tx) {
470+
static bool write(const std::span<const uint8_t> tx) {
471471
// get the produce index
472472
const uint32_t index = Emac::port->TXPRODUCEINDEX;
473473

0 commit comments

Comments
 (0)