From e2adb48040fe4bb6436b33b33d57851f4bf05678 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 3 Jan 2013 10:22:48 +0000 Subject: [PATCH] Missing virtual... git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5023 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/cpp_wrappers/ch.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index 25649c05d..139328fc5 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -2106,7 +2106,7 @@ namespace chibios_rt { * * @api */ - size_t write(const uint8_t *bp, size_t n) = 0; + virtual size_t write(const uint8_t *bp, size_t n) = 0; /** * @brief Sequential Stream read. @@ -2120,7 +2120,7 @@ namespace chibios_rt { * * @api */ - size_t read(uint8_t *bp, size_t n) = 0; + virtual size_t read(uint8_t *bp, size_t n) = 0; /** * @brief Sequential Stream blocking byte write. @@ -2135,7 +2135,7 @@ namespace chibios_rt { * * @api */ - msg_t put(uint8_t b) = 0; + virtual msg_t put(uint8_t b) = 0; /** * @brief Sequential Stream blocking byte read. @@ -2147,7 +2147,7 @@ namespace chibios_rt { * * @api */ - msg_t get(void) = 0; + virtual msg_t get(void) = 0; }; }