firmware  v0.1.2
Chromation Spectrometer Dev-Kit
VisCmd-ReplyCommandInvalid.c
1 // Why doesn't this output any assembly?!?!?
2 // $ gcc src/avra/VisCmd-ReplyCommandInvalid.c -S -I../lib/src -I../lib/test/ -o -
3 // .file "VisCmd-ReplyCommandInvalid.c"
4 // .text
5 // .ident "GCC: (GNU) 10.2.0"
6 
7 #include "FakeAvr/interrupt.h"
8 #include "SpiSlave.h"
9 #include "StatusCode.h"
10 #ifdef USE_FAKES
11 #define SpiSlaveTxByte SpiSlaveTxByte_fake
12 #endif
13 inline void ReplyCommandInvalid(void)
14 {
19  SpiSlaveTxByte(INVALID_CMD);
20 }
21 #ifdef USE_FAKES
22 #undef SpiSlaveTxByte
23 #endif
24 
void SpiSlaveTxByte(uint8_t input_byte)
Definition: SpiSlave.h:150
See cfg/microspec.json in the Python API repository.