@@ -186,7 +186,7 @@ void noteTransactionStop (void) {
186
186
The TwoWire implementation to use for I2C communication.
187
187
*/
188
188
/* *************************************************************************/
189
- void Notecard::platformInit (bool assignCallbacks) const
189
+ void Notecard::platformInit (bool assignCallbacks)
190
190
{
191
191
NoteSetUserAgent ((char *) (" note-arduino " NOTE_ARDUINO_VERSION));
192
192
if (assignCallbacks) {
@@ -225,7 +225,7 @@ Notecard::~Notecard (void)
225
225
appropriately for the host.
226
226
*/
227
227
/* *************************************************************************/
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_)
229
229
{
230
230
noteI2c = noteI2c_;
231
231
platformInit (noteI2c);
@@ -247,7 +247,7 @@ void Notecard::begin(NoteI2c * noteI2c_, uint32_t i2cAddress_, uint32_t i2cMax_)
247
247
communicating with the Notecard from the host.
248
248
*/
249
249
/* *************************************************************************/
250
- void Notecard::begin (NoteSerial * noteSerial_) const
250
+ void Notecard::begin (NoteSerial * noteSerial_)
251
251
{
252
252
noteSerial = noteSerial_;
253
253
platformInit (noteSerial);
@@ -268,16 +268,6 @@ void Notecard::begin(NoteSerial * noteSerial_) const
268
268
}
269
269
}
270
270
271
- /* *************************************************************************/
272
- /* !
273
- @brief Clear the debug output source.
274
- */
275
- /* *************************************************************************/
276
- void Notecard::clearDebugOutputStream (void ) const
277
- {
278
- setDebugOutputStream (nullptr );
279
- }
280
-
281
271
/* *************************************************************************/
282
272
/* !
283
273
@brief Periodically show Notecard sync status, returning `TRUE`
@@ -287,10 +277,10 @@ void Notecard::clearDebugOutputStream(void) const
287
277
@param maxLevel
288
278
The maximum log level to output to the debug console. Pass
289
279
-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.
291
281
*/
292
282
/* *************************************************************************/
293
- bool Notecard::debugSyncStatus (int pollFrequencyMs, int maxLevel) const
283
+ bool Notecard::debugSyncStatus (int pollFrequencyMs, int maxLevel)
294
284
{
295
285
return NoteDebugSyncStatus (pollFrequencyMs, maxLevel);
296
286
}
@@ -314,7 +304,7 @@ void Notecard::deleteResponse(J *rsp) const
314
304
interfaces, and frees all associated memory.
315
305
*/
316
306
/* *************************************************************************/
317
- void Notecard::end (void ) const
307
+ void Notecard::end (void )
318
308
{
319
309
// Clear Communication Interfaces
320
310
NoteSetFnI2C (0 , 0 , nullptr , nullptr , nullptr );
@@ -490,7 +480,7 @@ bool Notecard::sendRequestWithRetry(J *req, uint32_t timeoutSeconds) const
490
480
debug output.
491
481
*/
492
482
/* *************************************************************************/
493
- void Notecard::setDebugOutputStream (NoteLog * noteLog_) const
483
+ void Notecard::setDebugOutputStream (NoteLog * noteLog_)
494
484
{
495
485
noteLog = noteLog_;
496
486
if (noteLog) {
@@ -513,7 +503,7 @@ void Notecard::setDebugOutputStream(NoteLog * noteLog_) const
513
503
I2C bus taken during the call to `lockI2cFn()`.
514
504
*/
515
505
/* *************************************************************************/
516
- void Notecard::setFnI2cMutex (mutexFn lockI2cFn_, mutexFn unlockI2cFn_) const {
506
+ void Notecard::setFnI2cMutex (mutexFn lockI2cFn_, mutexFn unlockI2cFn_) {
517
507
NoteSetFnI2CMutex (lockI2cFn_, unlockI2cFn_);
518
508
}
519
509
@@ -530,7 +520,7 @@ void Notecard::setFnI2cMutex(mutexFn lockI2cFn_, mutexFn unlockI2cFn_) const {
530
520
Notecard transaction taken during the call to `lockNoteFn()`.
531
521
*/
532
522
/* *************************************************************************/
533
- void Notecard::setFnNoteMutex (mutexFn lockNoteFn_, mutexFn unlockNoteFn_) const {
523
+ void Notecard::setFnNoteMutex (mutexFn lockNoteFn_, mutexFn unlockNoteFn_) {
534
524
NoteSetFnNoteMutex (lockNoteFn_, unlockNoteFn_);
535
525
}
536
526
@@ -549,7 +539,7 @@ void Notecard::setFnNoteMutex(mutexFn lockNoteFn_, mutexFn unlockNoteFn_) const
549
539
A platform specific tuple of digital I/O pins.
550
540
*/
551
541
/* *************************************************************************/
552
- void Notecard::setTransactionPins (NoteTxn * noteTxn_) const {
542
+ void Notecard::setTransactionPins (NoteTxn * noteTxn_) {
553
543
noteTxn = noteTxn_; // Set global interface
554
544
if (noteTxn_) {
555
545
NoteSetFnTransaction (noteTransactionStart, noteTransactionStop);
0 commit comments