@@ -186,7 +186,7 @@ void noteTransactionStop (void) {
186186 The TwoWire implementation to use for I2C communication.
187187*/
188188/* *************************************************************************/
189- void Notecard::platformInit (bool assignCallbacks) const
189+ void Notecard::platformInit (bool assignCallbacks)
190190{
191191 NoteSetUserAgent ((char *) (" note-arduino " NOTE_ARDUINO_VERSION));
192192 if (assignCallbacks) {
@@ -225,7 +225,7 @@ Notecard::~Notecard (void)
225225 appropriately for the host.
226226*/
227227/* *************************************************************************/
228- void Notecard::begin (NoteI2c * noteI2c_, uint32_t i2cAddress_, uint32_t i2cMax_) const
228+ void Notecard::begin (NoteI2c * noteI2c_, uint32_t i2cAddress_, uint32_t i2cMax_)
229229{
230230 noteI2c = noteI2c_;
231231 platformInit (noteI2c);
@@ -247,7 +247,7 @@ void Notecard::begin(NoteI2c * noteI2c_, uint32_t i2cAddress_, uint32_t i2cMax_)
247247 communicating with the Notecard from the host.
248248*/
249249/* *************************************************************************/
250- void Notecard::begin (NoteSerial * noteSerial_) const
250+ void Notecard::begin (NoteSerial * noteSerial_)
251251{
252252 noteSerial = noteSerial_;
253253 platformInit (noteSerial);
@@ -268,16 +268,6 @@ void Notecard::begin(NoteSerial * noteSerial_) const
268268 }
269269}
270270
271- /* *************************************************************************/
272- /* !
273- @brief Clear the debug output source.
274- */
275- /* *************************************************************************/
276- void Notecard::clearDebugOutputStream (void ) const
277- {
278- setDebugOutputStream (nullptr );
279- }
280-
281271/* *************************************************************************/
282272/* !
283273 @brief Periodically show Notecard sync status, returning `TRUE`
@@ -287,10 +277,10 @@ void Notecard::clearDebugOutputStream(void) const
287277 @param maxLevel
288278 The maximum log level to output to the debug console. Pass
289279 -1 for all.
290- @return `True ` if a pending response was displayed to the debug stream.
280+ @return `true ` if a pending response was displayed to the debug stream.
291281*/
292282/* *************************************************************************/
293- bool Notecard::debugSyncStatus (int pollFrequencyMs, int maxLevel) const
283+ bool Notecard::debugSyncStatus (int pollFrequencyMs, int maxLevel)
294284{
295285 return NoteDebugSyncStatus (pollFrequencyMs, maxLevel);
296286}
@@ -314,7 +304,7 @@ void Notecard::deleteResponse(J *rsp) const
314304 interfaces, and frees all associated memory.
315305*/
316306/* *************************************************************************/
317- void Notecard::end (void ) const
307+ void Notecard::end (void )
318308{
319309 // Clear Communication Interfaces
320310 NoteSetFnI2C (0 , 0 , nullptr , nullptr , nullptr );
@@ -490,7 +480,7 @@ bool Notecard::sendRequestWithRetry(J *req, uint32_t timeoutSeconds) const
490480 debug output.
491481*/
492482/* *************************************************************************/
493- void Notecard::setDebugOutputStream (NoteLog * noteLog_) const
483+ void Notecard::setDebugOutputStream (NoteLog * noteLog_)
494484{
495485 noteLog = noteLog_;
496486 if (noteLog) {
@@ -513,7 +503,7 @@ void Notecard::setDebugOutputStream(NoteLog * noteLog_) const
513503 I2C bus taken during the call to `lockI2cFn()`.
514504*/
515505/* *************************************************************************/
516- void Notecard::setFnI2cMutex (mutexFn lockI2cFn_, mutexFn unlockI2cFn_) const {
506+ void Notecard::setFnI2cMutex (mutexFn lockI2cFn_, mutexFn unlockI2cFn_) {
517507 NoteSetFnI2CMutex (lockI2cFn_, unlockI2cFn_);
518508}
519509
@@ -530,7 +520,7 @@ void Notecard::setFnI2cMutex(mutexFn lockI2cFn_, mutexFn unlockI2cFn_) const {
530520 Notecard transaction taken during the call to `lockNoteFn()`.
531521*/
532522/* *************************************************************************/
533- void Notecard::setFnNoteMutex (mutexFn lockNoteFn_, mutexFn unlockNoteFn_) const {
523+ void Notecard::setFnNoteMutex (mutexFn lockNoteFn_, mutexFn unlockNoteFn_) {
534524 NoteSetFnNoteMutex (lockNoteFn_, unlockNoteFn_);
535525}
536526
@@ -549,7 +539,7 @@ void Notecard::setFnNoteMutex(mutexFn lockNoteFn_, mutexFn unlockNoteFn_) const
549539 A platform specific tuple of digital I/O pins.
550540*/
551541/* *************************************************************************/
552- void Notecard::setTransactionPins (NoteTxn * noteTxn_) const {
542+ void Notecard::setTransactionPins (NoteTxn * noteTxn_) {
553543 noteTxn = noteTxn_; // Set global interface
554544 if (noteTxn_) {
555545 NoteSetFnTransaction (noteTransactionStart, noteTransactionStop);
0 commit comments