1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: motor record: continuously update limit switches |
From: | "Konrad, Martin" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 12 Aug 2013 16:01:40 +0000 |
Hi Mark, > I would replace > > (char) NULL > > with > > NULL I think '\0' is a better choice here. It makes clear that we are terminating a string here and not using a pointer. By the way: In this context NULL also results in a warning with modern compilers. > The (char *) is not needed. Of course you're right. I changed both: https://github.com/mark0n/motorRecord/commit/71aac21168ebe6b8295991a9c5018fc501e4ee6b Thanks, Martin