Closed LastDragon-ru closed 5 years ago
I confirm. Same here.
If EXTRA_LIN_ADVANCE_K
is enabled, the code uses bitRead
and bitWrite
, which is part of the platformio-pkg-framework-arduinosam
, wiring.h
. Not present/referenced in the LPC1768 env.
If you need it urgently, just put these in M900.cpp at the top somewhere until this gets fixed by someone:
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
#define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
Oop! On it!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
Steps to Reproduce
#define EXTRA_LIN_ADVANCE_K
Additional Information
MKS SBase + Marlin 2 (https://github.com/MarlinFirmware/Marlin/commit/940ff8e7c8a5919681dcd6d6e87668381010151a) + vs code + platformio (all libs updated)