Skip to content

Commit

Permalink
new uart for all displays except KINGMETER_901U which was already bro…
Browse files Browse the repository at this point in the history
…ken b4
  • Loading branch information
Björn Schmidt committed Sep 27, 2018
1 parent 782ebc2 commit ab15ec8
Show file tree
Hide file tree
Showing 10 changed files with 506 additions and 722 deletions.
6 changes: 5 additions & 1 deletion BOdisplay.c
Expand Up @@ -384,7 +384,11 @@ void digestConfigRequest(uint8_t configAddress, uint8_t requestedCodeLowByte, ui

}

void processBoMessage() {
void display_init() {
// noop just here to have a common interface
}

void display_update() {


uart_fill_rx_packet_buffer(ui8_rx_buffer, 17, &ui8_rx_buffer_counter);
Expand Down
3 changes: 2 additions & 1 deletion BOdisplay.h
Expand Up @@ -124,6 +124,7 @@ typedef enum {
ERROR_ADDRESS = ((uint8_t) 0x66)
} BO_ADDRESS_CODES;

void processBoMessage();
void display_update();
void display_init();

#endif /* BODISPLAY_H */

0 comments on commit ab15ec8

Please sign in to comment.