change protocol & firmware (to work @250kbaud and in sniffer mode)

This commit is contained in:
2022-01-30 16:23:36 +03:00
parent 2e4cc8c1fe
commit 2213c84773
70 changed files with 12330 additions and 4623 deletions

View File

@@ -453,7 +453,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_MSP(void)
*/
__attribute__( ( always_inline ) ) __STATIC_INLINE void __set_MSP(uint32_t topOfMainStack)
{
__ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp");
__ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack));
}